diff options
Diffstat (limited to 'base/game.cpp')
| -rw-r--r-- | base/game.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/base/game.cpp b/base/game.cpp index 9628543672..e65c891dc7 100644 --- a/base/game.cpp +++ b/base/game.cpp @@ -32,10 +32,10 @@ const PlainGameDescriptor *findPlainGameDescriptor(const char *gameid, const Pla  	const PlainGameDescriptor *g = list;  	while (g->gameid) {  		if (0 == scumm_stricmp(gameid, g->gameid)) -			break; +			return g;  		g++;  	} -	return g; +	return 0;  }  void GameDescriptor::updateDesc(const char *extra) {  | 
