In multi_consistency_error check for Game_wind before trying to set it in/visible - just for safety
This commit is contained in:
parent
6e1725d4e5
commit
19d00e9851
|
@ -1,5 +1,9 @@
|
|||
D1X-Rebirth Changelog
|
||||
|
||||
20101109
|
||||
--------
|
||||
main/multi.c: In multi_consistency_error check for Game_wind before trying to set it in/visible - just for safety
|
||||
|
||||
20101101
|
||||
--------
|
||||
main/newmenu.c: In case listbox strings are too long for screen, fit box width to screen width, shorten strings and add a scroll effect to selected item
|
||||
|
|
|
@ -2667,8 +2667,10 @@ void multi_consistency_error(int reset)
|
|||
if (++count < 10)
|
||||
return;
|
||||
|
||||
if (Game_wind)
|
||||
window_set_visible(Game_wind, 0);
|
||||
nm_messagebox(NULL, 1, TXT_OK, TXT_CONSISTENCY_ERROR);
|
||||
if (Game_wind)
|
||||
window_set_visible(Game_wind, 1);
|
||||
count = 0;
|
||||
multi_quit_game = 1;
|
||||
|
|
Loading…
Reference in a new issue