version 1.27 | | version 1.28 |
---|
| | |
/* | | /* |
* static char *rcsid_c_misc_c = | | * static char *rcsid_c_misc_c = |
* "$Id: c_misc.c,v 1.27 2002/12/25 06:45:46 garbled Exp $"; | | * "$Id: c_misc.c,v 1.28 2003/01/08 08:39:19 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
| | |
int command_save (object *op, char *params) | | int command_save (object *op, char *params) |
{ | | { |
if (blocks_cleric(op->map, op->x, op->y)) { | | if (get_map_flags(op->map, NULL, op->x, op->y, NULL, NULL) & P_NO_CLERIC) { |
new_draw_info(NDI_UNIQUE, 0, op, "You can not save on unholy ground"); | | new_draw_info(NDI_UNIQUE, 0, op, "You can not save on unholy ground"); |
} else if (!op->stats.exp) { | | } else if (!op->stats.exp) { |
new_draw_info(NDI_UNIQUE, 0, op, "You don't deserve to save yet."); | | new_draw_info(NDI_UNIQUE, 0, op, "You don't deserve to save yet."); |