aboutsummaryrefslogtreecommitdiff
path: root/engines/sword2
diff options
context:
space:
mode:
authorMax Horn2006-02-18 12:50:48 +0000
committerMax Horn2006-02-18 12:50:48 +0000
commit01fc7034b535e2dcc0526d5ac4d1ae4eae60459f (patch)
tree4e10d3d934d77825bd9f76fc4eca0177067e596a /engines/sword2
parent8ac17430ac7aa3bba5630d74a1eeda54bce7801b (diff)
downloadscummvm-rg350-01fc7034b535e2dcc0526d5ac4d1ae4eae60459f.tar.gz
scummvm-rg350-01fc7034b535e2dcc0526d5ac4d1ae4eae60459f.tar.bz2
scummvm-rg350-01fc7034b535e2dcc0526d5ac4d1ae4eae60459f.zip
- Merged GameDetector::detectGame() into GameDetector::detectMain()
- Replaced GameSettings GameDetector::_game by a simple gameid string svn-id: r20753
Diffstat (limited to 'engines/sword2')
-rw-r--r--engines/sword2/sword2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword2/sword2.cpp b/engines/sword2/sword2.cpp
index 56ae60b7ff..4abd8b1a70 100644
--- a/engines/sword2/sword2.cpp
+++ b/engines/sword2/sword2.cpp
@@ -125,7 +125,7 @@ Sword2Engine::Sword2Engine(GameDetector *detector, OSystem *syst) : Engine(syst)
Common::File::addDefaultDirectory(_gameDataPath + "sword2/");
Common::File::addDefaultDirectory(_gameDataPath + "video/");
- if (0 == strcmp(detector->_game.gameid, "sword2demo"))
+ if (0 == scumm_stricmp(detector->_gameid.c_str(), "sword2demo"))
_features = GF_DEMO;
else
_features = 0;