aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
authorFlorian Kagerer2008-05-02 22:24:03 +0000
committerFlorian Kagerer2008-05-02 22:24:03 +0000
commit85f612076f5eb3f3882397ca333ad8cf9d64ac92 (patch)
tree0510b78f0cbc0c98a4dbecaeea9f2904ff10dafb /engines/kyra
parente6aa1f586f4cf2816a1aa0c833a66e9178418df1 (diff)
downloadscummvm-rg350-85f612076f5eb3f3882397ca333ad8cf9d64ac92.tar.gz
scummvm-rg350-85f612076f5eb3f3882397ca333ad8cf9d64ac92.tar.bz2
scummvm-rg350-85f612076f5eb3f3882397ca333ad8cf9d64ac92.zip
fix bug in hof animator (incomplete initialization of _animObjects)
svn-id: r31835
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/animator_hof.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/animator_hof.cpp b/engines/kyra/animator_hof.cpp
index b4ab4383d0..76c66252ee 100644
--- a/engines/kyra/animator_hof.cpp
+++ b/engines/kyra/animator_hof.cpp
@@ -37,7 +37,7 @@ void KyraEngine_HoF::restorePage3() {
void KyraEngine_HoF::clearAnimObjects() {
debugC(9, kDebugLevelAnimator, "KyraEngine_HoF::clearAnimObjects()");
- memset(_animObjects, 0, sizeof(_animObjects));
+ memset(_animObjects, 0, sizeof(AnimObj) * 41);
_animObjects[0].index = 0;
_animObjects[0].type = 0;