[Scummvm-cvs-logs] SF.net SVN: scummvm:[54895] scummvm/trunk/engines/mohawk/livingbooks.cpp

fuzzie at users.sourceforge.net fuzzie at users.sourceforge.net
Mon Dec 13 00:11:23 CET 2010


Revision: 54895
          http://scummvm.svn.sourceforge.net/scummvm/?rev=54895&view=rev
Author:   fuzzie
Date:     2010-12-12 23:11:23 +0000 (Sun, 12 Dec 2010)

Log Message:
-----------
MOHAWK: Handle chained LB commands

Modified Paths:
--------------
    scummvm/trunk/engines/mohawk/livingbooks.cpp

Modified: scummvm/trunk/engines/mohawk/livingbooks.cpp
===================================================================
--- scummvm/trunk/engines/mohawk/livingbooks.cpp	2010-12-12 23:09:09 UTC (rev 54894)
+++ scummvm/trunk/engines/mohawk/livingbooks.cpp	2010-12-12 23:11:23 UTC (rev 54895)
@@ -2600,6 +2600,9 @@
 			else if (op == "--")
 				_vm->_variables[varname].integer--;
 		}
+
+		if (pos < command.size() && command[pos] == ';')
+			pos++;
 	}
 }
 


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