diff options
author | Simei Yin | 2017-07-15 17:34:23 +0200 |
---|---|---|
committer | Simei Yin | 2017-07-15 17:51:57 +0200 |
commit | a44cf28ea334904fdd2ed0ad3ec830ac8ff758a6 (patch) | |
tree | cc2d050a6dc0761001116c62dca0ab767159e295 /engines/sludge | |
parent | 89635193468b4b2967333cd181e06e7cb61ca4f2 (diff) | |
download | scummvm-rg350-a44cf28ea334904fdd2ed0ad3ec830ac8ff758a6.tar.gz scummvm-rg350-a44cf28ea334904fdd2ed0ad3ec830ac8ff758a6.tar.bz2 scummvm-rg350-a44cf28ea334904fdd2ed0ad3ec830ac8ff758a6.zip |
SLUDGE: Remove unused function displayFatal
Diffstat (limited to 'engines/sludge')
-rw-r--r-- | engines/sludge/newfatal.cpp | 8 | ||||
-rw-r--r-- | engines/sludge/newfatal.h | 1 |
2 files changed, 0 insertions, 9 deletions
diff --git a/engines/sludge/newfatal.cpp b/engines/sludge/newfatal.cpp index 027c9b015f..acbcc1450d 100644 --- a/engines/sludge/newfatal.cpp +++ b/engines/sludge/newfatal.cpp @@ -53,14 +53,6 @@ bool hasFatal() { return false; } -void displayFatal() { - if (!g_sludge->fatalMessage.empty()) { -#if 0 - msgBox("SLUDGE v" TEXT_VERSION " fatal error!", fatalMessage); -#endif - } -} - void registerWindowForFatal() { g_sludge->fatalInfo = "There's an error with this SLUDGE game! If you're designing this game, please turn on verbose error messages in the project manager and recompile. If not, please contact the author saying where and how this problem occured."; } diff --git a/engines/sludge/newfatal.h b/engines/sludge/newfatal.h index f7e53a7ec0..eb65db065b 100644 --- a/engines/sludge/newfatal.h +++ b/engines/sludge/newfatal.h @@ -33,7 +33,6 @@ bool hasFatal(); int fatal(const Common::String &str); int fatal(const Common::String &str1, const Common::String &str2); int checkNew(const void *mem); -void displayFatal(); void registerWindowForFatal(); void setFatalInfo(const Common::String &userFunc, const Common::String &BIF); void setResourceForFatal(int n); |