[Scummvm-cvs-logs] SF.net SVN: scummvm:[55047] scummvm/trunk/engines/toon/toon.cpp

sylvaintv at users.sourceforge.net sylvaintv at users.sourceforge.net
Sun Dec 26 21:14:05 CET 2010


Revision: 55047
          http://scummvm.svn.sourceforge.net/scummvm/?rev=55047&view=rev
Author:   sylvaintv
Date:     2010-12-26 20:14:04 +0000 (Sun, 26 Dec 2010)

Log Message:
-----------
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.

Modified Paths:
--------------
    scummvm/trunk/engines/toon/toon.cpp

Modified: scummvm/trunk/engines/toon/toon.cpp
===================================================================
--- scummvm/trunk/engines/toon/toon.cpp	2010-12-26 15:28:02 UTC (rev 55046)
+++ scummvm/trunk/engines/toon/toon.cpp	2010-12-26 20:14:04 UTC (rev 55047)
@@ -2499,7 +2499,7 @@
 		//
 	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 {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list