aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2009-07-16 21:47:57 +0000
committerJohannes Schickel2009-07-16 21:47:57 +0000
commit572b0e6c03ba17f91cb2e0d257939ecf7cbc0eaf (patch)
tree3a381f358dfe71aa90845a77c9fed28adb2f7591 /engines
parent62de2d9edc7eb51240d944e7a3bfcf894519f5d4 (diff)
downloadscummvm-rg350-572b0e6c03ba17f91cb2e0d257939ecf7cbc0eaf.tar.gz
scummvm-rg350-572b0e6c03ba17f91cb2e0d257939ecf7cbc0eaf.tar.bz2
scummvm-rg350-572b0e6c03ba17f91cb2e0d257939ecf7cbc0eaf.zip
Fix bug in "KyraEngine_v2::runSceneScript6", fixes text line Zanthia says, when picking up the spellbook page in the town.
svn-id: r42543
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/scene_v2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/scene_v2.cpp b/engines/kyra/scene_v2.cpp
index 9ffaf5515d..3def71a076 100644
--- a/engines/kyra/scene_v2.cpp
+++ b/engines/kyra/scene_v2.cpp
@@ -73,7 +73,7 @@ void KyraEngine_v2::runSceneScript6() {
_sceneScriptState.regs[0] = _mainCharacter.sceneId;
_sceneScriptState.regs[1] = _mouseX;
_sceneScriptState.regs[2] = _mouseY;
- _sceneScriptState.regs[3] = _itemInHand;
+ _sceneScriptState.regs[4] = _itemInHand;
_emc->start(&_sceneScriptState, 6);
while (_emc->isValid(&_sceneScriptState))