[Scummvm-cvs-logs] SF.net SVN: scummvm:[41955] scummvm/trunk/engines/kyra/items_hof.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Mon Jun 29 19:06:00 CEST 2009


Revision: 41955
          http://scummvm.svn.sourceforge.net/scummvm/?rev=41955&view=rev
Author:   lordhoto
Date:     2009-06-29 17:06:00 +0000 (Mon, 29 Jun 2009)

Log Message:
-----------
Update the screen animations while dropping items in Hand of Fate.

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/items_hof.cpp

Modified: scummvm/trunk/engines/kyra/items_hof.cpp
===================================================================
--- scummvm/trunk/engines/kyra/items_hof.cpp	2009-06-29 17:05:49 UTC (rev 41954)
+++ scummvm/trunk/engines/kyra/items_hof.cpp	2009-06-29 17:06:00 UTC (rev 41955)
@@ -238,9 +238,7 @@
 				_screen->drawShape(0, itemShape, curX, curY-16, 0, 0);
 				_screen->updateScreen();
 
-				// XXX: original doesn't update game state while delaying
-				// our implementation *could* do it, so maybe check this again
-				delayUntil(endDelay);
+				delayUntil(endDelay, false, true);
 			}
 
 			if (dstX != dstY || (dstY - startY > 16)) {
@@ -275,9 +273,7 @@
 					_screen->drawShape(0, itemShape, x, y, 0, 0);
 					_screen->updateScreen();
 
-					// XXX: original doesn't update game state while delaying
-					// our implementation *could* do it, so maybe check this again
-					delayUntil(endDelay);
+					delayUntil(endDelay, false, true);
 				}
 
 				restoreGfxRect24x24(x, y);


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