Added a hook to change the map during an hosted game

F5 to choose it
origin
ob1kenewb 23 years ago
parent 25f25682a0
commit 271d996160

@ -1,4 +1,4 @@
/* /*
multiwait.c - this manages only the network screen where multiwait.c - this manages only the network screen where
everyone have to select it's players and where even the basic chat is inside everyone have to select it's players and where even the basic chat is inside
*/ */
@ -344,6 +344,13 @@ wait_for_players ()
done = 1; done = 1;
} }
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();
}
chat_loop (&event); chat_loop (&event);
} }

Loading…
Cancel
Save