diff options
author | Florian Kagerer | 2008-05-02 22:24:03 +0000 |
---|---|---|
committer | Florian Kagerer | 2008-05-02 22:24:03 +0000 |
commit | 85f612076f5eb3f3882397ca333ad8cf9d64ac92 (patch) | |
tree | 0510b78f0cbc0c98a4dbecaeea9f2904ff10dafb /engines/kyra | |
parent | e6aa1f586f4cf2816a1aa0c833a66e9178418df1 (diff) | |
download | scummvm-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.cpp | 2 |
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; |