From 7306879f5fcad57d9f676da9a5f73cc12df42b4a Mon Sep 17 00:00:00 2001 From: stpohle Date: Wed, 7 May 2003 22:14:36 +0000 Subject: [PATCH] i forgot to add file mapmenu.c and to change the Makefile.MINGW.* --- src/configuration.c | 1 - src/multiwait.c | 11 ++++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/configuration.c b/src/configuration.c index d4ba954..dc14570 100644 --- a/src/configuration.c +++ b/src/configuration.c @@ -78,7 +78,6 @@ ReadConfig () return -1; } d_printf ("Reading Config-file: %s", filename); - /* printf("Reading config file...\n"); */ while (fgets (buf, sizeof (buf), config) != NULL) { findit = strchr (buf, '\n'); diff --git a/src/multiwait.c b/src/multiwait.c index 8059cf9..4054ae7 100644 --- a/src/multiwait.c +++ b/src/multiwait.c @@ -264,6 +264,7 @@ wait_for_players () else { /* we have a connect so draw status */ mw_draw_status (); mw_draw_gfxselect (selgfx); + UpdateRects_nr = 0; gfx_AddUpdateRect (0, 0, gfx.res.x, mw_y); mw_draw_chat (); } @@ -346,9 +347,13 @@ wait_for_players () if ((GT_MP_PTPM) && keys[SDLK_F5] && (!keypressed)) { /* Map modification */ - menu_get_text ("Enter the path of a field file", bman.fieldpath, 30); - draw_logo (); - chat_drawbox (); + mapmenu (); + mw_draw_status (); + mw_draw_gfxselect (selgfx); + UpdateRects_nr = 0; + gfx_AddUpdateRect (0, 0, gfx.res.x, mw_y); + mw_draw_chat (); + gfx_UpdateRects (); } chat_loop (&event);