diff options
author | Filippos Karapetis | 2013-09-26 23:56:58 +0300 |
---|---|---|
committer | Filippos Karapetis | 2013-09-27 01:38:16 +0300 |
commit | cfa6974d29e4f30c749f859242e54b59b555b67a (patch) | |
tree | 73f797a22ccf042194fb43411032bd06e1742d17 /engines/neverhood | |
parent | 16b419847f49a500347487f38d50795cb6a13a63 (diff) | |
download | scummvm-rg350-cfa6974d29e4f30c749f859242e54b59b555b67a.tar.gz scummvm-rg350-cfa6974d29e4f30c749f859242e54b59b555b67a.tar.bz2 scummvm-rg350-cfa6974d29e4f30c749f859242e54b59b555b67a.zip |
NEVERHOOD: Fix uninitialized members of the Palette class - CID 1022303, 1022304, 1022305, 1022306
Diffstat (limited to 'engines/neverhood')
-rw-r--r-- | engines/neverhood/palette.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/neverhood/palette.cpp b/engines/neverhood/palette.cpp index c381f46671..941bcc3cd3 100644 --- a/engines/neverhood/palette.cpp +++ b/engines/neverhood/palette.cpp @@ -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() { |