ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/player.c
(Generate patch)

Comparing deliantra/server/server/player.c (file contents):
Revision 1.17 by root, Mon May 22 14:31:52 2006 UTC vs.
Revision 1.18 by pippijn, Fri Jun 2 01:27:22 2006 UTC

1/* 1/*
2 * static char *rcsid_player_c = 2 * static char *rcsid_player_c =
3 * "$Id: player.c,v 1.17 2006/05/22 14:31:52 root Exp $"; 3 * "$Id: player.c,v 1.18 2006/06/02 01:27:22 pippijn 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
2671 2671
2672 /* Lauwenmark: Handle for plugin death event */ 2672 /* Lauwenmark: Handle for plugin death event */
2673 if (execute_event(op, EVENT_DEATH,NULL,NULL,NULL,SCRIPT_FIX_ALL) != 0) 2673 if (execute_event(op, EVENT_DEATH,NULL,NULL,NULL,SCRIPT_FIX_ALL) != 0)
2674 return; 2674 return;
2675 2675
2676 command_kill_pets (op, 0);
2677
2676 /* Lauwenmark: Handle for the global death event */ 2678 /* Lauwenmark: Handle for the global death event */
2677 execute_global_event(EVENT_PLAYER_DEATH, op); 2679 execute_global_event(EVENT_PLAYER_DEATH, op);
2678 if(op->stats.food<0) { 2680 if(op->stats.food<0) {
2679 if (op->contr->explore) { 2681 if (op->contr->explore) {
2680 new_draw_info(NDI_UNIQUE, 0,op,"You would have starved, but you are"); 2682 new_draw_info(NDI_UNIQUE, 0,op,"You would have starved, but you are");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines