From 74a82ef4273aec05cb3fcefa4b77ab8a57cdc863 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Tue, 24 Mar 2009 05:35:48 +0000 Subject: Finally fixed the Valgrind warning that was confusing me so yesterday. svn-id: r39651 --- engines/saga/palanim.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines') 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(); -- cgit v1.2.3