|
|
@ -1,4 +1,4 @@
|
|
|
|
/* $Id: player.c,v 1.98 2005/02/20 19:11:21 stpohle Exp $
|
|
|
|
/* $Id: player.c,v 1.99 2005/02/20 21:58:05 stpohle Exp $
|
|
|
|
* player.c - everything what have to do with the player */
|
|
|
|
* player.c - everything what have to do with the player */
|
|
|
|
|
|
|
|
|
|
|
|
#include <SDL.h>
|
|
|
|
#include <SDL.h>
|
|
|
@ -561,8 +561,9 @@ player_died (_player * player, signed char dead_by, int network)
|
|
|
|
player->state &= (0xFF - PSF_alife);
|
|
|
|
player->state &= (0xFF - PSF_alife);
|
|
|
|
player->dead_by = dead_by;
|
|
|
|
player->dead_by = dead_by;
|
|
|
|
special_clear (player - players);
|
|
|
|
special_clear (player - players);
|
|
|
|
if (GT_MP)
|
|
|
|
if (GT_MP && !network)
|
|
|
|
net_game_send_player (player - players);
|
|
|
|
net_game_send_player (player - players);
|
|
|
|
|
|
|
|
|
|
|
|
snd_play (SND_dead);
|
|
|
|
snd_play (SND_dead);
|
|
|
|
|
|
|
|
|
|
|
|
if ((GT_SP || player == &players[bman.p_nr] || (IS_LPLAYER2 && player == &players[bman.p2_nr])
|
|
|
|
if ((GT_SP || player == &players[bman.p_nr] || (IS_LPLAYER2 && player == &players[bman.p2_nr])
|
|
|
|