[Scummvm-cvs-logs] SF.net SVN: scummvm:[55520] scummvm/trunk/engines/lastexpress/game/sound. cpp

tdhs at users.sourceforge.net tdhs at users.sourceforge.net
Tue Jan 25 04:22:37 CET 2011


Revision: 55520
          http://scummvm.svn.sourceforge.net/scummvm/?rev=55520&view=rev
Author:   tdhs
Date:     2011-01-25 03:22:37 +0000 (Tue, 25 Jan 2011)

Log Message:
-----------
LASTEXPRESS: Fix accidental assignment in sound.cpp.

Checked with Littleboy that this was not intentional.

Modified Paths:
--------------
    scummvm/trunk/engines/lastexpress/game/sound.cpp

Modified: scummvm/trunk/engines/lastexpress/game/sound.cpp
===================================================================
--- scummvm/trunk/engines/lastexpress/game/sound.cpp	2011-01-25 03:11:27 UTC (rev 55519)
+++ scummvm/trunk/engines/lastexpress/game/sound.cpp	2011-01-25 03:22:37 UTC (rev 55520)
@@ -1767,7 +1767,7 @@
 		} else {
 			current_index = soundEntry->field_4C + (status & 0x1F);
 
-			if (_currentSubtitle = (*i))
+			if (_currentSubtitle == (*i))
 				current_index += 4;
 		}
 


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