[Scummvm-cvs-logs] SF.net SVN: scummvm:[51479] scummvm/trunk/engines/sci/engine/kmovement.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Thu Jul 29 21:48:18 CEST 2010


Revision: 51479
          http://scummvm.svn.sourceforge.net/scummvm/?rev=51479&view=rev
Author:   thebluegr
Date:     2010-07-29 19:48:17 +0000 (Thu, 29 Jul 2010)

Log Message:
-----------
SCI: Fixed Hoyle 3 bugs #3035077, #3035080, #3035081 and #3035242, by using the "completed" case removed in rev #50921 for Hoyle 3

Revision Links:
--------------
    http://scummvm.svn.sourceforge.net/scummvm/?rev=50921&view=rev

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/kmovement.cpp

Modified: scummvm/trunk/engines/sci/engine/kmovement.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kmovement.cpp	2010-07-29 19:11:49 UTC (rev 51478)
+++ scummvm/trunk/engines/sci/engine/kmovement.cpp	2010-07-29 19:48:17 UTC (rev 51479)
@@ -347,8 +347,13 @@
 		writeSelectorValue(segMan, client, SELECTOR(signal), (signal | kSignalHitObstacle));
 
 		debugC(2, kDebugLevelBresen, "Finished mover %04x:%04x by collision", PRINT_REG(mover));
-		// we shall not set completed in this case, sierra sci also doesn't do it
+		// We shall not set completed in this case, sierra sci also doesn't do it
 		//  if we set call .moveDone in those cases qfg1 vga gate at the castle and lsl1 casino door will not work
+		// Update: however, it seems that Hoyle 3 (full and demo) does need to end here.
+		// TODO/FIXME: Find out why Hoyle 3 needs this.
+		// The following fixes bugs #3035077, #3035080, #3035081 and #3035242
+		if (g_sci->getGameId() == GID_HOYLE3)
+			completed = 1;
 	}
 
 	if ((getSciVersion() >= SCI_VERSION_1_EGA))


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