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

Comparing deliantra/server/server/apply.C (file contents):
Revision 1.87 by root, Fri May 11 21:07:14 2007 UTC vs.
Revision 1.88 by root, Sat May 12 08:36:35 2007 UTC

2579/** 2579/**
2580 * player_apply_below attempts to apply the object 'below' the player. 2580 * player_apply_below attempts to apply the object 'below' the player.
2581 * If the player has an open container, we use that for below, otherwise 2581 * If the player has an open container, we use that for below, otherwise
2582 * we use the ground. 2582 * we use the ground.
2583 */ 2583 */
2584
2585void 2584void
2586player_apply_below (object *pl) 2585player_apply_below (object *pl)
2587{ 2586{
2588 int floors = 0; 2587 int floors = 0;
2589 2588
3069 if (basic_flag == AP_APPLY) 3068 if (basic_flag == AP_APPLY)
3070 return 0; 3069 return 0;
3071 3070
3072 if (!(aflags & AP_IGNORE_CURSE) && (QUERY_FLAG (op, FLAG_CURSED) || QUERY_FLAG (op, FLAG_DAMNED))) 3071 if (!(aflags & AP_IGNORE_CURSE) && (QUERY_FLAG (op, FLAG_CURSED) || QUERY_FLAG (op, FLAG_DAMNED)))
3073 { 3072 {
3074 new_draw_info_format (NDI_UNIQUE, 0, who, "No matter how hard you try, you just can't\nremove %s.", query_name (op)); 3073 new_draw_info_format (NDI_UNIQUE, 0, who, "No matter how hard you try, you just can't remove %s.", query_name (op));
3075 return 1; 3074 return 1;
3076 } 3075 }
3077 3076
3078 return unapply_special (who, op, aflags); 3077 return unapply_special (who, op, aflags);
3079 } 3078 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines