aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/animator_hof.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/kyra/animator_hof.cpp')
-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;