aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTorbjörn Andersson2009-03-24 05:35:48 +0000
committerTorbjörn Andersson2009-03-24 05:35:48 +0000
commit74a82ef4273aec05cb3fcefa4b77ab8a57cdc863 (patch)
tree262dedcb4081b3e97621f77d274beb16980706ea /engines
parent0998f53cb08fe087ad1842b67b9a9743db9e9742 (diff)
downloadscummvm-rg350-74a82ef4273aec05cb3fcefa4b77ab8a57cdc863.tar.gz
scummvm-rg350-74a82ef4273aec05cb3fcefa4b77ab8a57cdc863.tar.bz2
scummvm-rg350-74a82ef4273aec05cb3fcefa4b77ab8a57cdc863.zip
Finally fixed the Valgrind warning that was confusing me so yesterday.
svn-id: r39651
Diffstat (limited to 'engines')
-rw-r--r--engines/saga/palanim.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/saga/palanim.cpp b/engines/saga/palanim.cpp
index d59ae1f281..7f0a7fda47 100644
--- a/engines/saga/palanim.cpp
+++ b/engines/saga/palanim.cpp
@@ -74,6 +74,8 @@ int PalAnim::loadPalAnim(const byte *resdata, size_t resdata_len) {
int pal_count;
int p, c;
+ _entries[i].cycle = 0;
+
color_count = readS.readUint16();
pal_count = readS.readUint16();