Skip to content

Commit

Permalink
fix load menu
Browse files Browse the repository at this point in the history
  • Loading branch information
goblinhack committed Jan 24, 2025
1 parent b4570ed commit 7a03589
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/game_load.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ static bool wid_load_cancel(Widp w, int x, int y, uint32_t button)
void Game::load_select(void)
{
TRACE_AND_INDENT();
CON("INF: Loading a saved game, destroy old");
CON("INF: Loading a saved game");

if (wid_load) {
return;
Expand Down Expand Up @@ -656,12 +656,6 @@ void Game::load_select(void)
wid_update(wid_load->wid_text_area->wid_text_area);

game->state_change(STATE_LOAD_MENU, "load select");

//
// Not sure why we need this; but the level ends up blank post loading.
// It's probably a good idea anyway, in case we were in a difference gfx mode.
//
sdl_display_reset();
}

void wid_load_select(class Game *g) { g->load_select(); }
Expand Down

0 comments on commit 7a03589

Please sign in to comment.