[Scummvm-cvs-logs] SF.net SVN: scummvm:[34852] scummvm/branches/branch-0-12-0/engines/sword1/ control.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Sun Oct 26 15:29:41 CET 2008


Revision: 34852
          http://scummvm.svn.sourceforge.net/scummvm/?rev=34852&view=rev
Author:   eriktorbjorn
Date:     2008-10-26 14:29:41 +0000 (Sun, 26 Oct 2008)

Log Message:
-----------
Backport from trunk: Allow gaps in the list of savegames.

Modified Paths:
--------------
    scummvm/branches/branch-0-12-0/engines/sword1/control.cpp

Modified: scummvm/branches/branch-0-12-0/engines/sword1/control.cpp
===================================================================
--- scummvm/branches/branch-0-12-0/engines/sword1/control.cpp	2008-10-26 11:19:10 UTC (rev 34851)
+++ scummvm/branches/branch-0-12-0/engines/sword1/control.cpp	2008-10-26 14:29:41 UTC (rev 34852)
@@ -737,8 +737,7 @@
 						_saveNames[curFileNum][pos++] = ch;
 				}
 			} while ((ch != 10) && (ch != 255) && (!inf->eos()));
-			if (_saveNames[curFileNum][0] != 0)
-				curFileNum++;
+			curFileNum++;
 		} while ((ch != 255) && (!inf->eos()));
 		_saveFiles = curFileNum;
 	}


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