diff options
author | yinsimei | 2017-06-05 22:54:34 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-07-13 18:27:45 +0200 |
commit | 3975fd7215fa0b97249231f965837729be21e554 (patch) | |
tree | 589f0363688b1840beab35a556f2a645958a1a2d /engines | |
parent | 83ab05630c149d8fb61a306797dec2f4c9d75784 (diff) | |
download | scummvm-rg350-3975fd7215fa0b97249231f965837729be21e554.tar.gz scummvm-rg350-3975fd7215fa0b97249231f965837729be21e554.tar.bz2 scummvm-rg350-3975fd7215fa0b97249231f965837729be21e554.zip |
SLUDGE: remove showSetupWindow
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sludge/platform-dependent.h | 1 | ||||
-rw-r--r-- | engines/sludge/sludger.cpp | 6 |
2 files changed, 1 insertions, 6 deletions
diff --git a/engines/sludge/platform-dependent.h b/engines/sludge/platform-dependent.h index 0296bc1382..bf36f5f710 100644 --- a/engines/sludge/platform-dependent.h +++ b/engines/sludge/platform-dependent.h @@ -28,7 +28,6 @@ namespace Sludge { char *grabFileName(); -int showSetupWindow(); void msgBox(const char *head, const char *msg); int msgBoxQuestion(const char *head, const char *msg); diff --git a/engines/sludge/sludger.cpp b/engines/sludge/sludger.cpp index 0b99d79c39..ea716266d8 100644 --- a/engines/sludge/sludger.cpp +++ b/engines/sludge/sludger.cpp @@ -527,17 +527,13 @@ bool initSludge(char *filename) { // There's no startup window on Linux and respecting this // option from the ini file would disable commandline options. #if defined __unix__ && !(defined __APPLE__) -#if 0 - if (!showSetupWindow()) return 0; -#endif saveIniFile(filename); #else if (!gameSettings.noStartWindow) { - if (!showSetupWindow()) return 0; saveIniFile(filename); } #endif - + // Now set file indices properly to the chosen language. languageNum = getLanguageForFileB(); if (languageNum < 0) |