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

Comparing deliantra/server/server/c_misc.c (file contents):
Revision 1.4 by root, Fri Mar 31 22:55:58 2006 UTC vs.
Revision 1.5 by pippijn, Wed May 3 15:09:04 2006 UTC

1/* 1/*
2 * static char *rcsid_c_misc_c = 2 * static char *rcsid_c_misc_c =
3 * "$Id: c_misc.c,v 1.4 2006/03/31 22:55:58 root Exp $"; 3 * "$Id: c_misc.c,v 1.5 2006/05/03 15:09:04 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
1388 1388
1389 op->contr->state = ST_CONFIRM_QUIT; 1389 op->contr->state = ST_CONFIRM_QUIT;
1390 return 1; 1390 return 1;
1391 } 1391 }
1392 1392
1393int command_suicide ( object *op, char *params )
1394{
1395 player_hit ( op, 20000, op, PLAYER, 0 );
1396}
1397
1393/* 1398/*
1394 * don't allow people to exit explore mode. It otherwise becomes 1399 * don't allow people to exit explore mode. It otherwise becomes
1395 * really easy to abuse this. 1400 * really easy to abuse this.
1396 */ 1401 */
1397int command_explore (object *op, char *params) 1402int command_explore (object *op, char *params)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines