mirror of
https://github.com/XLabsProject/s1x-client.git
synced 2023-08-02 15:02:12 +02:00
Prevent crashes in exception handler during pre-init phase
Fixes one bug of #221
This commit is contained in:
parent
b6aa23fc37
commit
1ff9cae0e7
@ -71,10 +71,10 @@ namespace exception
|
||||
|
||||
bool is_recoverable()
|
||||
{
|
||||
return is_game_thread()
|
||||
return is_initialized()
|
||||
&& is_game_thread()
|
||||
&& !is_exception_interval_too_short()
|
||||
&& !too_many_exceptions_occured()
|
||||
&& is_initialized();
|
||||
&& !too_many_exceptions_occured();
|
||||
}
|
||||
|
||||
void show_mouse_cursor()
|
||||
|
Loading…
Reference in New Issue
Block a user