aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFlorian Kagerer2008-09-08 21:57:38 +0000
committerFlorian Kagerer2008-09-08 21:57:38 +0000
commit2c0c67c08a7d2d760657d4c1c96b3ace1c7e5439 (patch)
treee0898b2a4886cd2a195397195e54e533706825fc /engines
parentc331a922432ac9c7f7c8a01aaa6a570e3ed69d03 (diff)
downloadscummvm-rg350-2c0c67c08a7d2d760657d4c1c96b3ace1c7e5439.tar.gz
scummvm-rg350-2c0c67c08a7d2d760657d4c1c96b3ace1c7e5439.tar.bz2
scummvm-rg350-2c0c67c08a7d2d760657d4c1c96b3ace1c7e5439.zip
HOF: msvc8 compile fix (ARRAYSIZE used with run-time allocated array)
svn-id: r34454
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/scene_hof.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/scene_hof.cpp b/engines/kyra/scene_hof.cpp
index 08df7b064e..df9fccaab9 100644
--- a/engines/kyra/scene_hof.cpp
+++ b/engines/kyra/scene_hof.cpp
@@ -517,7 +517,7 @@ void KyraEngine_HoF::runSceneScript7() {
void KyraEngine_HoF::initSceneAnims(int unk1) {
debugC(9, kDebugLevelMain, "KyraEngine_HoF::initSceneAnims(%d)", unk1);
- for (int i = 0; i < ARRAYSIZE(_animObjects); ++i)
+ for (int i = 0; i < 41; ++i)
_animObjects[i].enabled = 0;
bool animInit = false;