diff options
author | Max Horn | 2006-02-18 12:50:48 +0000 |
---|---|---|
committer | Max Horn | 2006-02-18 12:50:48 +0000 |
commit | 01fc7034b535e2dcc0526d5ac4d1ae4eae60459f (patch) | |
tree | 4e10d3d934d77825bd9f76fc4eca0177067e596a /engines/sword1 | |
parent | 8ac17430ac7aa3bba5630d74a1eeda54bce7801b (diff) | |
download | scummvm-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/sword1')
-rw-r--r-- | engines/sword1/sword1.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword1/sword1.cpp b/engines/sword1/sword1.cpp index 47b4a9e780..fb2c352523 100644 --- a/engines/sword1/sword1.cpp +++ b/engines/sword1/sword1.cpp @@ -135,7 +135,7 @@ void SwordEngine::errorString(const char *buf1, char *buf2) { SwordEngine::SwordEngine(GameDetector *detector, OSystem *syst) : Engine(syst) { - if (0 == strcmp(detector->_game.gameid, "sword1demo")) + if (0 == scumm_stricmp(detector->_gameid.c_str(), "sword1demo")) _features = GF_DEMO; else _features = 0; |