[Scummvm-cvs-logs] SF.net SVN: scummvm:[46090] scummvm/trunk/tools/create_kyradat/ create_kyradat.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Sun Nov 22 19:15:09 CET 2009
Revision: 46090
http://scummvm.svn.sourceforge.net/scummvm/?rev=46090&view=rev
Author: lordhoto
Date: 2009-11-22 18:15:07 +0000 (Sun, 22 Nov 2009)
Log Message:
-----------
Little cleanup.
Modified Paths:
--------------
scummvm/trunk/tools/create_kyradat/create_kyradat.cpp
Modified: scummvm/trunk/tools/create_kyradat/create_kyradat.cpp
===================================================================
--- scummvm/trunk/tools/create_kyradat/create_kyradat.cpp 2009-11-22 15:58:34 UTC (rev 46089)
+++ scummvm/trunk/tools/create_kyradat/create_kyradat.cpp 2009-11-22 18:15:07 UTC (rev 46090)
@@ -436,6 +436,9 @@
if (std::find(index.gameList.begin(), index.gameList.end(), gameDef) == index.gameList.end()) {
++index.includedGames;
index.gameList.push_back(gameDef);
+ } else {
+ // Already included in the game list, thus we do not need any further processing here.
+ return true;
}
} else {
index.version = kKyraDatVersion;
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