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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user