aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/avalot.cpp
diff options
context:
space:
mode:
authorurukgit2013-10-16 00:14:46 +0200
committerWillem Jan Palenstijn2013-10-17 22:17:10 +0200
commitecb1bf69b9f3cfd16d35ff8bb326c192c88daa84 (patch)
treeb216d08c455b14874e5e8045e7902fa0c0a200f6 /engines/avalanche/avalot.cpp
parentb82a5e6a8b0c2998622392292f5ada4fc4b7e7de (diff)
downloadscummvm-rg350-ecb1bf69b9f3cfd16d35ff8bb326c192c88daa84.tar.gz
scummvm-rg350-ecb1bf69b9f3cfd16d35ff8bb326c192c88daa84.tar.bz2
scummvm-rg350-ecb1bf69b9f3cfd16d35ff8bb326c192c88daa84.zip
AVALANCHE: Repair parameters for calling zoomOut().
Diffstat (limited to 'engines/avalanche/avalot.cpp')
-rw-r--r--engines/avalanche/avalot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/avalanche/avalot.cpp b/engines/avalanche/avalot.cpp
index d7d800767e..497812cb08 100644
--- a/engines/avalanche/avalot.cpp
+++ b/engines/avalanche/avalot.cpp
@@ -803,7 +803,7 @@ void AvalancheEngine::enterRoom(Room roomId, byte ped) {
// You're entering the map.
fadeIn();
if (ped > 0)
- _graphics->zoomOut(_peds[ped]._x, _peds[ped]._y);
+ _graphics->zoomOut(_peds[ped - 1]._x, _peds[ped - 1]._y);
if ((_objects[kObjectWine - 1]) && (_wineState != 3)) {
_dialogs->displayScrollChain('q', 9); // Don't want to waste the wine!