aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSylvain Dupont2010-12-26 20:14:04 +0000
committerSylvain Dupont2010-12-26 20:14:04 +0000
commitf9409fc7d50de09186ba30b28fe9ae1ad58067ca (patch)
tree5423c172bb75da0d2db3938530ff5f759c5a8b3b
parent1528a3d9044382afa2939d0d900d0da06d6cc157 (diff)
downloadscummvm-rg350-f9409fc7d50de09186ba30b28fe9ae1ad58067ca.tar.gz
scummvm-rg350-f9409fc7d50de09186ba30b28fe9ae1ad58067ca.tar.bz2
scummvm-rg350-f9409fc7d50de09186ba30b28fe9ae1ad58067ca.zip
TOON: Fixed Bug #3124527 with Dungeon freeze
Bug #3089974: "TOON: Game freezes in act 2 when thrown to the prison" Wrong pointer increment in conversation process code. svn-id: r55047
-rw-r--r--engines/toon/toon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/toon/toon.cpp b/engines/toon/toon.cpp
index 61b6e1bfe3..c524d25907 100644
--- a/engines/toon/toon.cpp
+++ b/engines/toon/toon.cpp
@@ -2499,7 +2499,7 @@ int32 ToonEngine::runConversationCommand(int16 **command) {
//
case 105:
if (getConversationFlag(_gameState->_currentScene, v4)) {
- result = READ_LE_INT16(*command + 4);
+ result = READ_LE_INT16(*command + 2);
*command = (int16 *)((char *)_conversationData + result);
*command = (int16 *)((char *)_conversationData + result - 4);
} else {