Added a hook to change the map during an hosted game

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

@ -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