aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/tattoo
diff options
context:
space:
mode:
authorPaul Gilbert2015-05-30 11:49:34 -0400
committerPaul Gilbert2015-05-30 11:49:34 -0400
commit25551111491e216ac4b46741beea13cbaa511b66 (patch)
tree850f49883b58c4d0e035720c74c49ae4bfcad6cf /engines/sherlock/tattoo
parent560bc65fc4e70dfc8f2df3affe2c6ab31afc5a74 (diff)
downloadscummvm-rg350-25551111491e216ac4b46741beea13cbaa511b66.tar.gz
scummvm-rg350-25551111491e216ac4b46741beea13cbaa511b66.tar.bz2
scummvm-rg350-25551111491e216ac4b46741beea13cbaa511b66.zip
SHERLOCK: Fix incorrect if statement
Diffstat (limited to 'engines/sherlock/tattoo')
-rw-r--r--engines/sherlock/tattoo/tattoo_scene.cpp2
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();
}