From b6bdb5f01803af757f68e5f0cbd5e9ec912cde9b Mon Sep 17 00:00:00 2001 From: stpohle Date: Wed, 16 Jun 2004 00:41:27 +0000 Subject: [PATCH] ingame menu haven't been freed right. --- ChangeLog | 11 +++++------ src/game.c | 6 +++++- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5f9ae01..b64ba2e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,13 +1,12 @@ -$Id: ChangeLog,v 1.75 2004/05/20 16:55:29 stpohle Exp $ - -Still Needed to Change -====================== -* ingame menus, like the "Quit Game" question. +$Id: ChangeLog,v 1.76 2004/06/16 00:41:27 stpohle Exp $ Version 0.11.3 ============== -2004-05-20 +2004-06-15 + +- ingame menus, like the "Quit Game" question, + and a End Round menu. - menuhandling changed some internal things, so it is possible to create more menus at the time. diff --git a/src/game.c b/src/game.c index dbfc617..191f140 100644 --- a/src/game.c +++ b/src/game.c @@ -1,4 +1,4 @@ -/* $Id: game.c,v 1.87 2004/06/15 15:04:37 stpohle Exp $ +/* $Id: game.c,v 1.88 2004/06/16 00:41:29 stpohle Exp $ game.c - procedures for the game. */ #include @@ -296,6 +296,10 @@ game_loop () bman.timeout -= timediff; } + if (menu != NULL) + menu_delete (menu); + gfx_blitdraw (); + chat_show (-1, -1, -1, -1); d_gamedetail ("GAME END");