aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/tattoo
diff options
context:
space:
mode:
authorPaul Gilbert2015-05-30 13:04:22 -0400
committerPaul Gilbert2015-05-30 13:04:22 -0400
commit1f7555c2ca753c4b68c3a53c651dead981e7b81d (patch)
tree52a64e20a771595c30e133673dae45dd69743020 /engines/sherlock/tattoo
parent442fb847683aa789ae75dcf990040a13691293b6 (diff)
downloadscummvm-rg350-1f7555c2ca753c4b68c3a53c651dead981e7b81d.tar.gz
scummvm-rg350-1f7555c2ca753c4b68c3a53c651dead981e7b81d.tar.bz2
scummvm-rg350-1f7555c2ca753c4b68c3a53c651dead981e7b81d.zip
SHERLOCK: Further compilation fixes
Diffstat (limited to 'engines/sherlock/tattoo')
-rw-r--r--engines/sherlock/tattoo/tattoo_scene.cpp3
1 files changed, 1 insertions, 2 deletions
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();
}