mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-02 14:51:40 +00:00
Use strcmp() to test the game ID, not the != operator.
svn-id: r47897
This commit is contained in:
parent
969a048619
commit
baae94fb81
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user