diff options
author | Retro-Junk | 2016-09-18 01:00:36 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2016-09-18 00:16:29 +0200 |
commit | f67bbd9f8c14133dec61ff88d314d381b1014272 (patch) | |
tree | fb81b48804b360621a44ae051d84b93742db6ba4 /engines/fullpipe | |
parent | 83a82a98420423f2aa27b7e7eedce13b03ec34b2 (diff) | |
download | scummvm-rg350-f67bbd9f8c14133dec61ff88d314d381b1014272.tar.gz scummvm-rg350-f67bbd9f8c14133dec61ff88d314d381b1014272.tar.bz2 scummvm-rg350-f67bbd9f8c14133dec61ff88d314d381b1014272.zip |
FULLPIPE: Fix StaticANIObject::getMovementIdById
Diffstat (limited to 'engines/fullpipe')
-rw-r--r-- | engines/fullpipe/statics.cpp | 2 |
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; |