diff options
author | Max Horn | 2003-11-10 01:04:12 +0000 |
---|---|---|
committer | Max Horn | 2003-11-10 01:04:12 +0000 |
commit | e34f2b8b3321a576c2ae612470d07cb3e7bc91f5 (patch) | |
tree | 350146bd56be39f91232ed50f7fa2d3330011ab3 /sword2/sword2.cpp | |
parent | 63c6944492ad4bfa0ffbc811e4d1bad9f8452008 (diff) | |
download | scummvm-rg350-e34f2b8b3321a576c2ae612470d07cb3e7bc91f5.tar.gz scummvm-rg350-e34f2b8b3321a576c2ae612470d07cb3e7bc91f5.tar.bz2 scummvm-rg350-e34f2b8b3321a576c2ae612470d07cb3e7bc91f5.zip |
cut down on unnecessary GameDetector references
svn-id: r11239
Diffstat (limited to 'sword2/sword2.cpp')
-rw-r--r-- | sword2/sword2.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sword2/sword2.cpp b/sword2/sword2.cpp index a5d1a56e5e..a63ceb3169 100644 --- a/sword2/sword2.cpp +++ b/sword2/sword2.cpp @@ -54,7 +54,7 @@ static const GameSettings sword2_settings[] = { /* Broken Sword 2 */ {"sword2", "Broken Sword II", MDT_ADLIB | MDT_NATIVE, GF_DEFAULT_TO_1X_SCALER, "players.clu" }, {"sword2alt", "Broken Sword II (alt)", MDT_ADLIB | MDT_NATIVE, GF_DEFAULT_TO_1X_SCALER, "r2ctlns.ocx" }, - {"sword2demo", "Broken Sword II (Demo)", MDT_ADLIB | MDT_NATIVE, GF_DEFAULT_TO_1X_SCALER | GF_DEMO, "players.clu" }, + {"sword2demo", "Broken Sword II (Demo)", MDT_ADLIB | MDT_NATIVE, GF_DEFAULT_TO_1X_SCALER | Sword2::GF_DEMO, "players.clu" }, {NULL, NULL, MDT_NONE, 0, NULL} }; @@ -102,9 +102,8 @@ Sound *g_sound = NULL; Display *g_display = NULL; Sword2Engine::Sword2Engine(GameDetector *detector, OSystem *syst) - : Engine(detector, syst) { + : Engine(syst) { - _detector = detector; g_sword2 = this; _debugger = NULL; _features = detector->_game.features; |