From a44cf28ea334904fdd2ed0ad3ec830ac8ff758a6 Mon Sep 17 00:00:00 2001 From: Simei Yin Date: Sat, 15 Jul 2017 17:34:23 +0200 Subject: SLUDGE: Remove unused function displayFatal --- engines/sludge/newfatal.cpp | 8 -------- engines/sludge/newfatal.h | 1 - 2 files changed, 9 deletions(-) (limited to 'engines/sludge') 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); -- cgit v1.2.3