1 | /* |
1 | /* |
2 | * static char *rcsid_player_c = |
2 | * static char *rcsid_player_c = |
3 | * "$Id: player.C,v 1.3 2006/08/25 13:24:50 root Exp $"; |
3 | * "$Id: player.C,v 1.4 2006/08/25 17:11:53 root Exp $"; |
4 | */ |
4 | */ |
5 | |
5 | |
6 | /* |
6 | /* |
7 | CrossFire, A Multiplayer game for X-windows |
7 | CrossFire, A Multiplayer game for X-windows |
8 | |
8 | |
… | |
… | |
2670 | transfer_ob(op, x, y, 0, NULL); |
2670 | transfer_ob(op, x, y, 0, NULL); |
2671 | op->contr->braced=0; |
2671 | op->contr->braced=0; |
2672 | return; |
2672 | return; |
2673 | } |
2673 | } |
2674 | |
2674 | |
2675 | /* Lauwenmark: Handle for plugin death event */ |
|
|
2676 | if (execute_event(op, EVENT_DEATH,NULL,NULL,NULL,SCRIPT_FIX_ALL) != 0) |
|
|
2677 | return; |
|
|
2678 | |
|
|
2679 | INVOKE_PLAYER (DEATH, op->contr); |
2675 | INVOKE_PLAYER (DEATH, op->contr); |
2680 | |
2676 | |
2681 | command_kill_pets (op, 0); |
2677 | command_kill_pets (op, 0); |
2682 | |
2678 | |
2683 | if(op->stats.food<0) { |
2679 | if(op->stats.food<0) { |