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 | |
|
|
1393 | int 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 | */ |
1397 | int command_explore (object *op, char *params) |
1402 | int command_explore (object *op, char *params) |