aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMax Horn2010-10-10 22:25:30 +0000
committerMax Horn2010-10-10 22:25:30 +0000
commit7642cd002ab8e1eb3f52d15e94d7ac03b24870c0 (patch)
tree0a2c9ac783962fce730108468941e5e6b2789ab3 /engines
parentae89ed580163a3e2866ae432dc46efcd76ec14a8 (diff)
downloadscummvm-rg350-7642cd002ab8e1eb3f52d15e94d7ac03b24870c0.tar.gz
scummvm-rg350-7642cd002ab8e1eb3f52d15e94d7ac03b24870c0.tar.bz2
scummvm-rg350-7642cd002ab8e1eb3f52d15e94d7ac03b24870c0.zip
SCI: Fix warning about uninitialized variable
svn-id: r53140
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/graphics/animate.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/graphics/animate.cpp b/engines/sci/graphics/animate.cpp
index 666460f66c..62c5f9c19e 100644
--- a/engines/sci/graphics/animate.cpp
+++ b/engines/sci/graphics/animate.cpp
@@ -141,6 +141,7 @@ void GfxAnimate::makeSortedList(List *list) {
AnimateEntry listEntry;
const reg_t curObject = curNode->value;
listEntry.object = curObject;
+ listEntry.castHandle = NULL_REG;
// Get data from current object
listEntry.givenOrderNo = listNr;