From 1f7555c2ca753c4b68c3a53c651dead981e7b81d Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 30 May 2015 13:04:22 -0400 Subject: SHERLOCK: Further compilation fixes --- engines/sherlock/tattoo/tattoo_scene.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'engines/sherlock/tattoo') diff --git a/engines/sherlock/tattoo/tattoo_scene.cpp b/engines/sherlock/tattoo/tattoo_scene.cpp index 66a66bad74..2a13b2a450 100644 --- a/engines/sherlock/tattoo/tattoo_scene.cpp +++ b/engines/sherlock/tattoo/tattoo_scene.cpp @@ -229,7 +229,6 @@ void TattooScene::doBgAnim() { } void TattooScene::doBgAnimUpdateBgObjectsAndAnim() { - TattooEngine &vm = *((TattooEngine *)_vm); People &people = *_vm->_people; Screen &screen = *_vm->_screen; @@ -244,7 +243,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