diff options
author | Torbjörn Andersson | 2010-02-05 07:06:43 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2010-02-05 07:06:43 +0000 |
commit | baae94fb81674cda55f177ba916d621acfb6eddc (patch) | |
tree | 557957e840e774294f326cae349a07e76c731e93 /engines | |
parent | 969a048619d166373d6cfccce1cc98674f6aa70a (diff) | |
download | scummvm-rg350-baae94fb81674cda55f177ba916d621acfb6eddc.tar.gz scummvm-rg350-baae94fb81674cda55f177ba916d621acfb6eddc.tar.bz2 scummvm-rg350-baae94fb81674cda55f177ba916d621acfb6eddc.zip |
Use strcmp() to test the game ID, not the != operator.
svn-id: r47897
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/sci.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp index 60a6b2957e..c245c6f244 100644 --- a/engines/sci/sci.cpp +++ b/engines/sci/sci.cpp @@ -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 } |