[Scummvm-cvs-logs] SF.net SVN: scummvm:[34455] scummvm/branches/branch-0-12-0/engines/kyra/ scene_hof.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Tue Sep 9 00:07:23 CEST 2008
Revision: 34455
http://scummvm.svn.sourceforge.net/scummvm/?rev=34455&view=rev
Author: lordhoto
Date: 2008-09-08 22:07:22 +0000 (Mon, 08 Sep 2008)
Log Message:
-----------
Backport of r34454: "HOF: msvc8 compile fix (ARRAYSIZE used with run-time allocated array)"
Modified Paths:
--------------
scummvm/branches/branch-0-12-0/engines/kyra/scene_hof.cpp
Modified: scummvm/branches/branch-0-12-0/engines/kyra/scene_hof.cpp
===================================================================
--- scummvm/branches/branch-0-12-0/engines/kyra/scene_hof.cpp 2008-09-08 21:57:38 UTC (rev 34454)
+++ scummvm/branches/branch-0-12-0/engines/kyra/scene_hof.cpp 2008-09-08 22:07:22 UTC (rev 34455)
@@ -517,7 +517,7 @@
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;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list