Skip to content

Commit

Permalink
NEVERHOOD: Fix uninitialized members of the Palette class - CID 10223…
Browse files Browse the repository at this point in the history
…03, 1022304, 1022305, 1022306
  • Loading branch information
bluegr committed Sep 26, 2013
1 parent 16b4198 commit cfa6974
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions engines/neverhood/palette.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ void Palette::init() {
_status = 0;
_palette = new byte[1024];
_basePalette = new byte[1024];
_palCounter = 0;
_fadeToR = 0;
_fadeToG = 0;
_fadeToB = 0;
_fadeStep = 0;
}

void Palette::usePalette() {
Expand Down

0 comments on commit cfa6974

Please sign in to comment.