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.8 by root, Thu May 11 20:31:10 2006 UTC vs.
Revision 1.9 by root, Wed Jul 19 22:51:40 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.8 2006/05/11 20:31:10 root Exp $"; 3 * "$Id: c_misc.c,v 1.9 2006/07/19 22:51:40 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
1533 return 1; 1533 return 1;
1534} 1534}
1535 1535
1536int command_save (object *op, char *params) 1536int command_save (object *op, char *params)
1537{ 1537{
1538 if (get_map_flags(op->map, NULL, op->x, op->y, NULL, NULL) & P_NO_CLERIC) { 1538// if (get_map_flags(op->map, NULL, op->x, op->y, NULL, NULL) & P_NO_CLERIC) {
1539 new_draw_info(NDI_UNIQUE, 0, op, "You can not save on unholy ground"); 1539// new_draw_info(NDI_UNIQUE, 0, op, "You can not save on unholy ground");
1540// } else
1540 } else if (!op->stats.exp) { 1541 if (!op->stats.exp) {
1541 new_draw_info(NDI_UNIQUE, 0, op, "You don't deserve to save yet."); 1542 new_draw_info(NDI_UNIQUE, 0, op, "You don't deserve to save yet.");
1542 } else { 1543 } else {
1543 if(save_player(op,1)) 1544 if(save_player(op,1))
1544 new_draw_info(NDI_UNIQUE, 0,op,"You have been saved."); 1545 new_draw_info(NDI_UNIQUE, 0,op,"You have been saved.");
1545 else 1546 else

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines