diff options
author | Retro-Junk | 2016-08-29 15:45:35 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-29 15:06:29 +0200 |
commit | 3ff6dfee8bef8aa9af1a665d3131834883987ccd (patch) | |
tree | 4cc7fca053c18195947eea7c2f0c810848113580 /engines/fullpipe | |
parent | 3805362275cd5764b5dd3c15e94dfee9cff9ba44 (diff) | |
download | scummvm-rg350-3ff6dfee8bef8aa9af1a665d3131834883987ccd.tar.gz scummvm-rg350-3ff6dfee8bef8aa9af1a665d3131834883987ccd.tar.bz2 scummvm-rg350-3ff6dfee8bef8aa9af1a665d3131834883987ccd.zip |
FULLPIPE: Fix condition check in StaticANIObject::update
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 e0fc1f6b04..ff079a8b0e 100644 --- a/engines/fullpipe/statics.cpp +++ b/engines/fullpipe/statics.cpp @@ -833,7 +833,7 @@ void StaticANIObject::update(int counterdiff) { } } - if (dyn->_initialCountdown != dyn->_countdown || dyn->_field_68 == 0) { + if (dyn->_initialCountdown == dyn->_countdown && dyn->_field_68 != 0) { newex = new ExCommand(_id, 17, dyn->_field_68, 0, 0, 0, 1, 0, 0, 0); newex->_excFlags = 2; newex->_keyCode = _okeyCode; |