aboutsummaryrefslogtreecommitdiff
path: root/sword2/anims.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sword2/anims.cpp')
-rw-r--r--sword2/anims.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/anims.cpp b/sword2/anims.cpp
index 98a2913527..52b4a2c258 100644
--- a/sword2/anims.cpp
+++ b/sword2/anims.cpp
@@ -147,7 +147,7 @@ int32 Logic::animate(int32 *params, bool reverse) {
ob_graphic->anim_pc = anim_head->noAnimFrames - 1;
else
ob_graphic->anim_pc = 0;
- } else if (getSync()) {
+ } else if (getSync() != -1) {
// We've received a sync - return to script immediately
debug(5, "**sync stopped %d**", _scriptVars[ID]);