[Scummvm-cvs-logs] SF.net SVN: scummvm: [30434] scummvm/branches/branch-0-11-0/engines/lure/ res_struct.cpp

dreammaster at users.sourceforge.net dreammaster at users.sourceforge.net
Sat Jan 12 03:34:51 CET 2008


Revision: 30434
          http://scummvm.svn.sourceforge.net/scummvm/?rev=30434&view=rev
Author:   dreammaster
Date:     2008-01-11 18:34:51 -0800 (Fri, 11 Jan 2008)

Log Message:
-----------
Backport of missing line from saving barman list data

Modified Paths:
--------------
    scummvm/branches/branch-0-11-0/engines/lure/res_struct.cpp

Modified: scummvm/branches/branch-0-11-0/engines/lure/res_struct.cpp
===================================================================
--- scummvm/branches/branch-0-11-0/engines/lure/res_struct.cpp	2008-01-12 01:30:11 UTC (rev 30433)
+++ scummvm/branches/branch-0-11-0/engines/lure/res_struct.cpp	2008-01-12 02:34:51 UTC (rev 30434)
@@ -1166,7 +1166,7 @@
 }
 
 void BarmanLists::saveToStream(Common::WriteStream *stream) {
-	for (int index = 0; index < 2; ++index) {
+	for (int index = 0; index < 3; ++index) {
 		uint16 value = (_barList[index].currentCustomer == NULL) ? 0 :
 			(_barList[index].currentCustomer - &_barList[index].customers[0]) / sizeof(BarEntry) + 1;
 		stream->writeUint16LE(value);


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