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
|
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
|
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
|
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,9 +2667,11 @@ void multi_consistency_error(int reset)
|
||||||
if (++count < 10)
|
if (++count < 10)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
window_set_visible(Game_wind, 0);
|
if (Game_wind)
|
||||||
|
window_set_visible(Game_wind, 0);
|
||||||
nm_messagebox(NULL, 1, TXT_OK, TXT_CONSISTENCY_ERROR);
|
nm_messagebox(NULL, 1, TXT_OK, TXT_CONSISTENCY_ERROR);
|
||||||
window_set_visible(Game_wind, 1);
|
if (Game_wind)
|
||||||
|
window_set_visible(Game_wind, 1);
|
||||||
count = 0;
|
count = 0;
|
||||||
multi_quit_game = 1;
|
multi_quit_game = 1;
|
||||||
game_leave_menus();
|
game_leave_menus();
|
||||||
|
|
Loading…
Reference in a new issue