[Scummvm-cvs-logs] SF.net SVN: scummvm:[44060] scummvm/trunk/engines/teenagent/callbacks.cpp

megath at users.sourceforge.net megath at users.sourceforge.net
Sun Sep 13 16:12:39 CEST 2009


Revision: 44060
          http://scummvm.svn.sourceforge.net/scummvm/?rev=44060&view=rev
Author:   megath
Date:     2009-09-13 14:12:39 +0000 (Sun, 13 Sep 2009)

Log Message:
-----------
fixed double-taking of the captain's key

Modified Paths:
--------------
    scummvm/trunk/engines/teenagent/callbacks.cpp

Modified: scummvm/trunk/engines/teenagent/callbacks.cpp
===================================================================
--- scummvm/trunk/engines/teenagent/callbacks.cpp	2009-09-13 13:59:55 UTC (rev 44059)
+++ scummvm/trunk/engines/teenagent/callbacks.cpp	2009-09-13 14:12:39 UTC (rev 44060)
@@ -319,8 +319,9 @@
 			playSound(71, 4);
 			playActorAnimation(823);
 
-			//skipped one 826 animation for this scene!
-			playSound(74, 4); //delay 10 in code
+			playSound(74, 1); 
+			playSound(74, 3); 
+			playSound(74, 6); 
 			loadScene(5, scene->getPosition());
 			playActorAnimation(826);
 			loadScene(6, scene->getPosition());
@@ -344,11 +345,16 @@
 		
 	case 0x4662:
 		if (CHECK_FLAG(0xDBDD, 3)) {
-			moveTo(280, 179, 2);
-			playSound(49, 7);
-			playActorAnimation(827);
-			inventory->add(0x4d);
-			SET_FLAG(0xDBDE, 1);
+			if (CHECK_FLAG(0xDBDE, 1)) {
+				displayMessage(0x5608);
+			} else {
+				moveTo(280, 179, 2);
+				playSound(49, 7);
+				playSound(5, 17);
+				playActorAnimation(827);
+				inventory->add(0x4d);
+				SET_FLAG(0xDBDE, 1);
+			}
 		} else 
 			displayMessage(0x5905);
 		return true;


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