[Scummvm-cvs-logs] SF.net SVN: scummvm: [24662] scummvm/trunk/engines/agos/res_snd.cpp

kirben at users.sourceforge.net kirben at users.sourceforge.net
Thu Nov 9 06:28:42 CET 2006


Revision: 24662
          http://svn.sourceforge.net/scummvm/?rev=24662&view=rev
Author:   kirben
Date:     2006-11-08 21:28:36 -0800 (Wed, 08 Nov 2006)

Log Message:
-----------
Fix bug #1592914 - SIMON1: Crash in Dwarf Cave

Modified Paths:
--------------
    scummvm/trunk/engines/agos/res_snd.cpp

Modified: scummvm/trunk/engines/agos/res_snd.cpp
===================================================================
--- scummvm/trunk/engines/agos/res_snd.cpp	2006-11-08 21:54:03 UTC (rev 24661)
+++ scummvm/trunk/engines/agos/res_snd.cpp	2006-11-09 05:28:36 UTC (rev 24662)
@@ -56,9 +56,13 @@
 				waitForSync(204);
 				stopAnimate(204);
 			}
-			stopAnimate(vgaSpriteId + 201);
+			if (vgaSpriteId < 100)
+				stopAnimate(vgaSpriteId + 201);
+
 			loadVoice(speech_id);
-			animate(4, 2, vgaSpriteId + 201, 0, 0, 0);
+
+			if (vgaSpriteId < 100)
+				animate(4, 2, vgaSpriteId + 201, 0, 0, 0);
 		}
 	} else {
 		if (speech_id == 0xFFFF) {


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