… | |
… | |
616 | if (QUERY_FLAG (tmp, FLAG_STARTEQUIP)) |
616 | if (QUERY_FLAG (tmp, FLAG_STARTEQUIP)) |
617 | { |
617 | { |
618 | op->statusmsg (format ("You drop the %s.", query_name (tmp))); |
618 | op->statusmsg (format ("You drop the %s.", query_name (tmp))); |
619 | op->statusmsg ("The god who lent it to you retrieves it."); |
619 | op->statusmsg ("The god who lent it to you retrieves it."); |
620 | |
620 | |
621 | tmp->destroy (true); |
621 | tmp->destroy (); |
622 | op->update_stats (); |
622 | op->update_stats (); |
623 | return; |
623 | return; |
624 | } |
624 | } |
625 | |
625 | |
626 | /* Call this before we update the various windows/players. At least |
626 | /* Call this before we update the various windows/players. At least |
… | |
… | |
659 | if (tmp->env && tmp->env->type != PLAYER) |
659 | if (tmp->env && tmp->env->type != PLAYER) |
660 | { |
660 | { |
661 | /* Just toss the object - probably shouldn't be hanging |
661 | /* Just toss the object - probably shouldn't be hanging |
662 | * around anyways |
662 | * around anyways |
663 | */ |
663 | */ |
664 | tmp->destroy (true); |
664 | tmp->destroy (); |
665 | return; |
665 | return; |
666 | } |
666 | } |
667 | else |
667 | else |
668 | { |
668 | { |
669 | while (tmp && tmp->invisible) |
669 | while (tmp && tmp->invisible) |