aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/lzw.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2016-06-05 23:10:02 +0200
committerEugene Sandulenko2016-06-05 23:10:20 +0200
commit3e0663a51676f7482a82c4b4afe24e4ee72b7787 (patch)
treee96a53127d0cd10b44ed193d8c24be3106fecfdf /engines/agi/lzw.cpp
parent786780ccb905277445b5d17d47fdc6669005bfb8 (diff)
downloadscummvm-rg350-3e0663a51676f7482a82c4b4afe24e4ee72b7787.tar.gz
scummvm-rg350-3e0663a51676f7482a82c4b4afe24e4ee72b7787.tar.bz2
scummvm-rg350-3e0663a51676f7482a82c4b4afe24e4ee72b7787.zip
AGI: Clean up object initialization
Diffstat (limited to 'engines/agi/lzw.cpp')
-rw-r--r--engines/agi/lzw.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/agi/lzw.cpp b/engines/agi/lzw.cpp
index bf41e1f3b4..ecb69543d7 100644
--- a/engines/agi/lzw.cpp
+++ b/engines/agi/lzw.cpp
@@ -72,6 +72,7 @@ LZWDecoder::LZWDecoder() {
appendCharacter = (uint8 *)malloc(TABLE_SIZE * sizeof(uint8));
inputBitCount = 0; // Number of bits in input bit buffer
inputBitBuffer = 0L;
+ BITS = MAX_VALUE = MAX_CODE = 0;
}
LZWDecoder::~LZWDecoder() {