diff options
Diffstat (limited to 'engines/sludge/newfatal.cpp')
-rw-r--r-- | engines/sludge/newfatal.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/engines/sludge/newfatal.cpp b/engines/sludge/newfatal.cpp index b3fa74af6c..f05de5c4c2 100644 --- a/engines/sludge/newfatal.cpp +++ b/engines/sludge/newfatal.cpp @@ -26,18 +26,18 @@ #include <stdlib.h> #endif -#include "common/debug.h" +#include "allfiles.h" +#include "common/debug.h" #include "platform-dependent.h" -#include "allfiles.h" #include "CommonCode/version.h" - #include "sound.h" - #include "stringy.h" #include "errors.h" #include "graphics.h" +namespace Sludge { + const char emergencyMemoryMessage[] = "Out of memory displaying error message!"; static char *fatalMessage = NULL; @@ -85,7 +85,7 @@ extern SDL_Event quit_event; #endif int inFatal(const char *str) { -#if ALLOW_FILE +#if 0 FILE *fatFile = fopen("fatal.txt", "wt"); if (fatFile) { fprintf(fatFile, "FATAL:\n%s\n", str); @@ -156,3 +156,5 @@ int fatal(const char *str1, const char *str2) { } else fatal(emergencyMemoryMessage); return 0; } + +} // End of namespace Sludge |