|
|
|
@ -264,7 +264,6 @@ 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 ();
|
|
|
|
|
}
|
|
|
|
@ -292,12 +291,6 @@ wait_for_players ()
|
|
|
|
|
|
|
|
|
|
if (bman.p_nr != -1) {
|
|
|
|
|
|
|
|
|
|
if (keys[SDLK_DOWN] && (!keypressed)) {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (keys[SDLK_UP] && (!keypressed)) {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (keys[SDLK_LEFT] && (!keypressed) && bman.players[bman.p_nr].gfx_nr == -1) {
|
|
|
|
|
i = 0;
|
|
|
|
|
while (selgfx < 0 || selgfx >= MAX_PLAYERS || i != -1) {
|
|
|
|
@ -352,10 +345,12 @@ wait_for_players ()
|
|
|
|
|
mw_draw_gfxselect (selgfx);
|
|
|
|
|
UpdateRects_nr = 0;
|
|
|
|
|
gfx_AddUpdateRect (0, 0, gfx.res.x, mw_y);
|
|
|
|
|
chat.changed = 1;
|
|
|
|
|
chat.lineschanged = 1;
|
|
|
|
|
chat_drawbox ();
|
|
|
|
|
mw_draw_chat ();
|
|
|
|
|
gfx_UpdateRects ();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
chat_loop (&event);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|