From 8429adcb5109fb7334cb96560abe051b72b28044 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sun, 14 Jun 2015 22:59:50 +0200 Subject: SHERLOCK: Silence two other GCC warnings --- engines/sherlock/tattoo/tattoo_people.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sherlock/tattoo') diff --git a/engines/sherlock/tattoo/tattoo_people.cpp b/engines/sherlock/tattoo/tattoo_people.cpp index 80f2484c6b..30a87ce7e0 100644 --- a/engines/sherlock/tattoo/tattoo_people.cpp +++ b/engines/sherlock/tattoo/tattoo_people.cpp @@ -346,7 +346,7 @@ void TattooPerson::setWalking() { else dir = (delta.y < 0) ? WALK_UP : WALK_DOWN; - int scaleVal = scene.getScaleVal(Point32(_walkDest.x * FIXED_INT_MULTIPLIER, + scaleVal = scene.getScaleVal(Point32(_walkDest.x * FIXED_INT_MULTIPLIER, _walkDest.y * FIXED_INT_MULTIPLIER)); _walkDest.x -= _stopFrames[dir]->sDrawXSize(scaleVal) / 2; } -- cgit v1.2.3