Revert "Fix recursive faults in Window crash logger due to message box event loop."

This reverts commit 2b1b7f8b135968cb88d8e65fcb89cdff8d203838.

Replaced by b5ca2161d9.
This commit is contained in:
Jonathan G Rennison
2020-06-01 19:39:37 +01:00
parent b018ebf268
commit 52e0d44c8a
4 changed files with 0 additions and 28 deletions

View File

@@ -38,8 +38,6 @@
#include "../../safeguards.h"
bool _in_event_loop_post_crash;
static bool _has_console;
static bool _cursor_disable = true;
static bool _cursor_visible = true;
@@ -102,7 +100,6 @@ bool LoadLibraryList(Function proc[], const char *dll)
void ShowOSErrorBox(const char *buf, bool system)
{
_in_event_loop_post_crash = true;
MyShowCursor(true);
MessageBox(GetActiveWindow(), OTTD2FS(buf), _T("Error!"), MB_ICONSTOP | MB_TASKMODAL);
}