From 25551111491e216ac4b46741beea13cbaa511b66 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 30 May 2015 11:49:34 -0400 Subject: SHERLOCK: Fix incorrect if statement --- engines/sherlock/tattoo/tattoo_scene.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- cgit v1.2.3