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:
@@ -2714,8 +2714,6 @@ bool FocusWindowById(WindowClass cls, WindowNumber number)
|
||||
*/
|
||||
void HandleKeypress(uint keycode, WChar key)
|
||||
{
|
||||
if (InEventLoopPostCrash()) return;
|
||||
|
||||
/* World generation is multithreaded and messes with companies.
|
||||
* But there is no company related window open anyway, so _current_company is not used. */
|
||||
assert(HasModalProgress() || IsLocalCompany());
|
||||
@@ -2934,8 +2932,6 @@ static void HandleKeyScrolling()
|
||||
|
||||
static void MouseLoop(MouseClick click, int mousewheel)
|
||||
{
|
||||
if (InEventLoopPostCrash()) return;
|
||||
|
||||
/* World generation is multithreaded and messes with companies.
|
||||
* But there is no company related window open anyway, so _current_company is not used. */
|
||||
assert(HasModalProgress() || IsLocalCompany());
|
||||
@@ -3042,8 +3038,6 @@ static void MouseLoop(MouseClick click, int mousewheel)
|
||||
*/
|
||||
void HandleMouseEvents()
|
||||
{
|
||||
if (InEventLoopPostCrash()) return;
|
||||
|
||||
/* World generation is multithreaded and messes with companies.
|
||||
* But there is no company related window open anyway, so _current_company is not used. */
|
||||
assert(HasModalProgress() || IsLocalCompany());
|
||||
@@ -3153,8 +3147,6 @@ static void CheckSoftLimit()
|
||||
*/
|
||||
void InputLoop()
|
||||
{
|
||||
if (InEventLoopPostCrash()) return;
|
||||
|
||||
/* World generation is multithreaded and messes with companies.
|
||||
* But there is no company related window open anyway, so _current_company is not used. */
|
||||
assert(HasModalProgress() || IsLocalCompany());
|
||||
|
Reference in New Issue
Block a user