diff options
author | Paul Gilbert | 2015-05-30 11:49:34 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-05-30 11:49:34 -0400 |
commit | 25551111491e216ac4b46741beea13cbaa511b66 (patch) | |
tree | 850f49883b58c4d0e035720c74c49ae4bfcad6cf /engines/sherlock | |
parent | 560bc65fc4e70dfc8f2df3affe2c6ab31afc5a74 (diff) | |
download | scummvm-rg350-25551111491e216ac4b46741beea13cbaa511b66.tar.gz scummvm-rg350-25551111491e216ac4b46741beea13cbaa511b66.tar.bz2 scummvm-rg350-25551111491e216ac4b46741beea13cbaa511b66.zip |
SHERLOCK: Fix incorrect if statement
Diffstat (limited to 'engines/sherlock')
-rw-r--r-- | engines/sherlock/tattoo/tattoo_scene.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/tattoo/tattoo_scene.cpp b/engines/sherlock/tattoo/tattoo_scene.cpp index dd96f3358e..66a66bad74 100644 --- a/engines/sherlock/tattoo/tattoo_scene.cpp +++ b/engines/sherlock/tattoo/tattoo_scene.cpp @@ -244,7 +244,7 @@ void TattooScene::doBgAnimUpdateBgObjectsAndAnim() { people[idx].adjustSprite(); } - if (_activeCAnim._images != nullptr != _activeCAnim._zPlacement != REMOVE) { + if (_activeCAnim._images != nullptr && _activeCAnim._zPlacement != REMOVE) { _activeCAnim.getNextFrame(); } |