diff options
author | Max Horn | 2010-03-09 23:35:56 +0000 |
---|---|---|
committer | Max Horn | 2010-03-09 23:35:56 +0000 |
commit | c6f752ce30c6b13cc46990e507c2db443558c35a (patch) | |
tree | 29833c016ded9d8bd526f63d589c4770e2e6c7a3 /engines/drascula/drascula.cpp | |
parent | da81c58af12467d3138caf8ee1664d7bbf290d60 (diff) | |
download | scummvm-rg350-c6f752ce30c6b13cc46990e507c2db443558c35a.tar.gz scummvm-rg350-c6f752ce30c6b13cc46990e507c2db443558c35a.tar.bz2 scummvm-rg350-c6f752ce30c6b13cc46990e507c2db443558c35a.zip |
DRASCULA: Simplified some code, cleanup
svn-id: r48216
Diffstat (limited to 'engines/drascula/drascula.cpp')
-rw-r--r-- | engines/drascula/drascula.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/engines/drascula/drascula.cpp b/engines/drascula/drascula.cpp index 7954ada562..1b40626b11 100644 --- a/engines/drascula/drascula.cpp +++ b/engines/drascula/drascula.cpp @@ -252,8 +252,12 @@ Common::Error DrasculaEngine::run() { clearRoom(); } else if (currentChapter == 5) { } else if (currentChapter == 6) { - igorX = 105, igorY = 85, trackIgor = 1; - drasculaX = 62, drasculaY = 99, trackDrascula = 1; + igorX = 105; + igorY = 85; + trackIgor = 1; + drasculaX = 62; + drasculaY = 99; + trackDrascula = 1; actorFrames[kFramePendulum] = 0; flag_tv = 0; } @@ -314,7 +318,7 @@ bool DrasculaEngine::runCurrentChapter() { } } - for (n = 1; n < 43; n++) + for (n = 1; n < ARRAYSIZE(inventoryObjects); n++) inventoryObjects[n] = 0; for (n = 0; n < NUM_FLAGS; n++) |