… | |
… | |
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 | |
|
|
2585 | void |
2584 | void |
2586 | player_apply_below (object *pl) |
2585 | player_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 | } |