aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRetro-Junk2016-09-18 01:00:36 +0300
committerEugene Sandulenko2016-09-18 00:16:29 +0200
commitf67bbd9f8c14133dec61ff88d314d381b1014272 (patch)
treefb81b48804b360621a44ae051d84b93742db6ba4
parent83a82a98420423f2aa27b7e7eedce13b03ec34b2 (diff)
downloadscummvm-rg350-f67bbd9f8c14133dec61ff88d314d381b1014272.tar.gz
scummvm-rg350-f67bbd9f8c14133dec61ff88d314d381b1014272.tar.bz2
scummvm-rg350-f67bbd9f8c14133dec61ff88d314d381b1014272.zip
FULLPIPE: Fix StaticANIObject::getMovementIdById
-rw-r--r--engines/fullpipe/statics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/fullpipe/statics.cpp b/engines/fullpipe/statics.cpp
index 0539edd047..c18affb567 100644
--- a/engines/fullpipe/statics.cpp
+++ b/engines/fullpipe/statics.cpp
@@ -440,7 +440,7 @@ int StaticANIObject::getMovementIdById(int itemId) {
if (mov->_currMovement) {
if (mov->_id == itemId)
- return mov->_id;
+ return mov->_currMovement->_id;
if (mov->_currMovement->_id == itemId)
return mov->_id;