Use strcmp() to test the game ID, not the != operator.

svn-id: r47897
This commit is contained in:
Torbjörn Andersson 2010-02-05 07:06:43 +00:00
parent 969a048619
commit baae94fb81

View File

@ -96,7 +96,7 @@ SciEngine::SciEngine(OSystem *syst, const ADGameDescription *desc)
SearchMan.addSubDirectoryMatching(_gameDataDir, "robot"); // robot files
// Add the patches directory, except in KQ6; KQ6 comes with broken patches.
if (getGameID() != "kq6")
if (strcmp(getGameID(), "kq6"))
SearchMan.addSubDirectoryMatching(_gameDataDir, "patches"); // resource patches
}