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

Comparing deliantra/server/server/c_object.C (file contents):
Revision 1.78 by root, Mon Sep 29 10:20:49 2008 UTC vs.
Revision 1.79 by root, Mon Sep 29 10:32:50 2008 UTC

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)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines