Remove calls to window_close(Game_wind) within close_editor
These are redundant. Will remove all cases of window_close(Game_wind) - it's safer for the handler to return window_event_result::close.
This commit is contained in:
parent
f339e60606
commit
b7c41a0d98
|
@ -921,13 +921,9 @@ static void close_editor()
|
|||
switch (ModeFlag)
|
||||
{
|
||||
case 1:
|
||||
if (Game_wind)
|
||||
window_close(Game_wind);
|
||||
break;
|
||||
|
||||
case 2:
|
||||
if (Game_wind)
|
||||
window_close(Game_wind);
|
||||
set_screen_mode(SCREEN_MENU); //put up menu screen
|
||||
show_menus();
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue