[Scummvm-cvs-logs] SF.net SVN: scummvm: [26086] scummvm/trunk/engines/parallaction/location. cpp

peres001 at users.sourceforge.net peres001 at users.sourceforge.net
Sun Mar 11 15:16:44 CET 2007


Revision: 26086
          http://scummvm.svn.sourceforge.net/scummvm/?rev=26086&view=rev
Author:   peres001
Date:     2007-03-11 07:16:43 -0700 (Sun, 11 Mar 2007)

Log Message:
-----------
fixed bug: now considering Array's ability to shift values when removing elements

Modified Paths:
--------------
    scummvm/trunk/engines/parallaction/location.cpp

Modified: scummvm/trunk/engines/parallaction/location.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/location.cpp	2007-03-11 14:14:08 UTC (rev 26085)
+++ scummvm/trunk/engines/parallaction/location.cpp	2007-03-11 14:16:43 UTC (rev 26086)
@@ -365,7 +365,7 @@
 		if (list[1] == "slide") {
 			showSlide(list[0].c_str());
 			list.remove_at(0);		// removes slide name
-			list.remove_at(1);		// removes 'slide'
+			list.remove_at(0);		// removes 'slide'
 		}
 
 		// list is now only [L].{[C]} (see above comment)


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