Remove unnecessary scores_maybe_add_player close of Game_wind

scores_maybe_add_player might close Game_wind, if it does not return
early.  All two callers unconditionally close Game_wind.  Remove the
unnecessary closure in scores_maybe_add_player.
This commit is contained in:
Kp 2016-12-10 17:51:08 +00:00
parent 4cec1910e2
commit ccd71dd579

View file

@ -264,9 +264,6 @@ void scores_maybe_add_player()
}
scores_view(&last_game, position);
if (Game_wind)
window_close(Game_wind); // prevent the next game from doing funny things
}
static void scores_rputs(int x, int y, char *buffer) __attribute_nonnull();