diff options
author | Torbjörn Andersson | 2003-11-15 09:38:00 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2003-11-15 09:38:00 +0000 |
commit | aaa5631a9963b02a96d5f82187465433c6b2dd13 (patch) | |
tree | 142986a381197d5d007060e4cd929f2061f887a7 /sword2/anims.cpp | |
parent | 2312111a3a5519c2c4d36733c204e85b4f4b5557 (diff) | |
download | scummvm-rg350-aaa5631a9963b02a96d5f82187465433c6b2dd13.tar.gz scummvm-rg350-aaa5631a9963b02a96d5f82187465433c6b2dd13.tar.bz2 scummvm-rg350-aaa5631a9963b02a96d5f82187465433c6b2dd13.zip |
Mostly cleanup. Also prevented what would probably have been an infinite
loop if ScummVM failed to find a file in the demo. (Now it should error out
instead, which is marginally preferable.)
svn-id: r11298
Diffstat (limited to 'sword2/anims.cpp')
-rw-r--r-- | sword2/anims.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/anims.cpp b/sword2/anims.cpp index 1e2d9a0263..e7e0c82521 100644 --- a/sword2/anims.cpp +++ b/sword2/anims.cpp @@ -174,7 +174,7 @@ int32 Logic::animate(int32 *params, bool reverse) { ob_graphic->anim_pc = anim_head->noAnimFrames - 1; else ob_graphic->anim_pc = 0; - } else if (g_logic->getSync()) { + } else if (getSync()) { // We've received a sync - return to script immediately debug(5, "**sync stopped %d**", ID); |