|
|
@ -50,7 +50,6 @@ game_draw_info ()
|
|
|
|
SDL_BlitSurface (bman.players[i].gfx->smal_image, &src, gfx.screen, &dest);
|
|
|
|
SDL_BlitSurface (bman.players[i].gfx->smal_image, &src, gfx.screen, &dest);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sprintf (scrtext, "%10s:%2d", bman.players[i].name, bman.players[i].points);
|
|
|
|
sprintf (scrtext, "%10s:%2d", bman.players[i].name, bman.players[i].points);
|
|
|
|
if ((bman.players[i].state & PSFM_alife) != PSFM_alife) { // Player is dead
|
|
|
|
if ((bman.players[i].state & PSFM_alife) != PSFM_alife) { // Player is dead
|
|
|
|
draw_text (x, j, scrtext, 0);
|
|
|
|
draw_text (x, j, scrtext, 0);
|
|
|
@ -213,7 +212,7 @@ game_loop ()
|
|
|
|
|
|
|
|
|
|
|
|
/* check if there is only one player left and the game is in multiplayer mode
|
|
|
|
/* check if there is only one player left and the game is in multiplayer mode
|
|
|
|
and if there the last dieing animation is done */
|
|
|
|
and if there the last dieing animation is done */
|
|
|
|
if (bman.players_nr < 2)
|
|
|
|
if ((GT_MP_PTP && bman.players_nr < 2) || (bman.players_nr == 0))
|
|
|
|
gameovertimeout--;
|
|
|
|
gameovertimeout--;
|
|
|
|
|
|
|
|
|
|
|
|
if (gameovertimeout <= 0) {
|
|
|
|
if (gameovertimeout <= 0) {
|
|
|
|