From d32b1b1b7a64448ab0a456a8b10008c269183c0e Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 28 Jan 2007 10:29:22 +0000 Subject: Always set gameid & description in a GameDescriptor (somewhat more future proof fix for the recent regression caused by the changes to gameid() / description() ) svn-id: r25242 --- base/game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'base/game.cpp') diff --git a/base/game.cpp b/base/game.cpp index cc0cb2c846..a20acaae95 100644 --- a/base/game.cpp +++ b/base/game.cpp @@ -68,7 +68,7 @@ GameDescriptor findGame(const Common::String &gameName, const Plugin **plugin) { PluginList::const_iterator iter = plugins.begin(); for (iter = plugins.begin(); iter != plugins.end(); ++iter) { result = (*iter)->findGame(gameName.c_str()); - if (result.contains("gameid") && !result["gameid"].empty()) { + if (!result.gameid().empty()) { if (plugin) *plugin = *iter; break; -- cgit v1.2.3