… | |
… | |
276 | new_draw_info (NDI_UNIQUE, 0, pl, "It must have been an illusion."); |
276 | new_draw_info (NDI_UNIQUE, 0, pl, "It must have been an illusion."); |
277 | |
277 | |
278 | if (pl->type == PLAYER) |
278 | if (pl->type == PLAYER) |
279 | esrv_del_item (pl->contr, tmp->count); |
279 | esrv_del_item (pl->contr, tmp->count); |
280 | |
280 | |
281 | if (!QUERY_FLAG (tmp, FLAG_REMOVED)) |
|
|
282 | tmp->remove (); |
|
|
283 | |
|
|
284 | tmp->destroy (0); |
281 | tmp->destroy (); |
285 | return; |
282 | return; |
286 | } |
283 | } |
287 | |
284 | |
288 | if (nrof > tmp_nrof || nrof == 0) |
285 | if (nrof > tmp_nrof || nrof == 0) |
289 | nrof = tmp_nrof; |
286 | nrof = tmp_nrof; |
… | |
… | |
707 | sprintf (buf, "You drop the %s.", query_name (tmp)); |
704 | sprintf (buf, "You drop the %s.", query_name (tmp)); |
708 | new_draw_info (NDI_UNIQUE, 0, op, buf); |
705 | new_draw_info (NDI_UNIQUE, 0, op, buf); |
709 | new_draw_info (NDI_UNIQUE, 0, op, "The gods who lent it to you retrieves it."); |
706 | new_draw_info (NDI_UNIQUE, 0, op, "The gods who lent it to you retrieves it."); |
710 | if (op->type == PLAYER) |
707 | if (op->type == PLAYER) |
711 | esrv_del_item (op->contr, tmp->count); |
708 | esrv_del_item (op->contr, tmp->count); |
712 | tmp->destroy (0); |
709 | tmp->destroy (); |
713 | fix_player (op); |
710 | fix_player (op); |
714 | return; |
711 | return; |
715 | } |
712 | } |
716 | |
713 | |
717 | /* If SAVE_INTERVAL is commented out, we never want to save |
714 | /* If SAVE_INTERVAL is commented out, we never want to save |
… | |
… | |
774 | { |
771 | { |
775 | /* Just toss the object - probably shouldn't be hanging |
772 | /* Just toss the object - probably shouldn't be hanging |
776 | * around anyways |
773 | * around anyways |
777 | */ |
774 | */ |
778 | tmp->remove (); |
775 | tmp->remove (); |
779 | tmp->destroy (0); |
776 | tmp->destroy (); |
780 | return; |
777 | return; |
781 | } |
778 | } |
782 | else |
779 | else |
783 | { |
780 | { |
784 | while (tmp != NULL && tmp->invisible) |
781 | while (tmp != NULL && tmp->invisible) |