[Scummvm-cvs-logs] SF.net SVN: scummvm: [21152] scummvm/trunk/engines/simon/simon.cpp
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Wed Mar 8 19:02:14 CET 2006
Revision: 21152
Author: fingolfin
Date: 2006-03-08 19:01:28 -0800 (Wed, 08 Mar 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=21152&view=rev
Log Message:
-----------
Tiny code simplification
Modified Paths:
--------------
scummvm/trunk/engines/simon/simon.cpp
Modified: scummvm/trunk/engines/simon/simon.cpp
===================================================================
--- scummvm/trunk/engines/simon/simon.cpp 2006-03-09 02:54:02 UTC (rev 21151)
+++ scummvm/trunk/engines/simon/simon.cpp 2006-03-09 03:01:28 UTC (rev 21152)
@@ -89,7 +89,7 @@
GameList games;
const PlainGameDescriptor *g = simonGames;
while (g->gameid) {
- games.push_back(GameDescriptor(g->gameid, g->description));
+ games.push_back(*g);
g++;
}
@@ -101,7 +101,7 @@
const PlainGameDescriptor *g = simonGames;
while (g->gameid) {
if (0 == scumm_stricmp(gameid, g->gameid))
- return GameDescriptor(g->gameid, g->description);
+ return *g;
g++;
}
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