aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
authorJohannes Schickel2009-01-18 16:21:30 +0000
committerJohannes Schickel2009-01-18 16:21:30 +0000
commitc4a4ffc51b4237a93e784e5ca6c1fb4a01022cdb (patch)
treeaf21634b00bb881d7b6330a02cea7c99a8bde6f6 /engines/kyra
parent2c59a5443292b0950a785f0cadb88e709830e523 (diff)
downloadscummvm-rg350-c4a4ffc51b4237a93e784e5ca6c1fb4a01022cdb.tar.gz
scummvm-rg350-c4a4ffc51b4237a93e784e5ca6c1fb4a01022cdb.tar.bz2
scummvm-rg350-c4a4ffc51b4237a93e784e5ca6c1fb4a01022cdb.zip
Update scene number internally so it gets displayed correctly in the debugger.
svn-id: r35900
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/scene_mr.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/kyra/scene_mr.cpp b/engines/kyra/scene_mr.cpp
index 238e5ee447..72ce4ecc35 100644
--- a/engines/kyra/scene_mr.cpp
+++ b/engines/kyra/scene_mr.cpp
@@ -191,6 +191,8 @@ void KyraEngine_MR::enterNewScene(uint16 sceneId, int facing, int unk1, int unk2
setMousePos(pos.x, 179);
}
_screen->showMouse();
+
+ _currentScene = sceneId;
}
void KyraEngine_MR::enterNewSceneUnk1(int facing, int unk1, int unk2) {