diff options
author | Max Horn | 2006-03-09 03:01:28 +0000 |
---|---|---|
committer | Max Horn | 2006-03-09 03:01:28 +0000 |
commit | 12755197f2587d25b12f9f3b1440d7e8823644a6 (patch) | |
tree | 6fcbf4af48ca10247651bd7951edb0515bfeb27b | |
parent | 51495fb199346508aad26e623d38d60778a0e104 (diff) | |
download | scummvm-rg350-12755197f2587d25b12f9f3b1440d7e8823644a6.tar.gz scummvm-rg350-12755197f2587d25b12f9f3b1440d7e8823644a6.tar.bz2 scummvm-rg350-12755197f2587d25b12f9f3b1440d7e8823644a6.zip |
Tiny code simplification
svn-id: r21152
-rw-r--r-- | engines/simon/simon.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/simon/simon.cpp b/engines/simon/simon.cpp index 04ffdc0a2d..e88d687098 100644 --- a/engines/simon/simon.cpp +++ b/engines/simon/simon.cpp @@ -89,7 +89,7 @@ GameList Engine_SIMON_gameIDList() { 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 @@ GameDescriptor Engine_SIMON_findGameID(const char *gameid) { const PlainGameDescriptor *g = simonGames; while (g->gameid) { if (0 == scumm_stricmp(gameid, g->gameid)) - return GameDescriptor(g->gameid, g->description); + return *g; g++; } |