diff --git a/src/menu.c b/src/menu.c index 93a7552..72b269d 100644 --- a/src/menu.c +++ b/src/menu.c @@ -20,7 +20,7 @@ #define OUTFITS_HEIGHT 200 #define DEATH_WIDTH 120 -#define DEATH_HEIGHT 160 +#define DEATH_HEIGHT 150 #define BUTTON_WIDTH 80 #define BUTTON_HEIGHT 30 @@ -191,7 +191,10 @@ void menu_death(void) { static void menu_death_respawn(char* str) { (void)str; - window_destroy(window_get("Death")); + unsigned int wid; + + wid = window_get("Death"); + window_destroy(wid); menu_Close(MENU_DEATH); player_new();