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

Comparing deliantra/server/common/object.C (file contents):
Revision 1.105 by pippijn, Wed Jan 3 00:21:35 2007 UTC vs.
Revision 1.106 by root, Wed Jan 3 20:08:04 2007 UTC

776{ 776{
777 for (object *op = inv; op; op = op->below) 777 for (object *op = inv; op; op = op->below)
778 op->deactivate_recursive (); 778 op->deactivate_recursive ();
779 779
780 deactivate (); 780 deactivate ();
781}
782
783void
784object::set_flag_inv (int flag, int value)
785{
786 for (object *op = inv; op; op = op->below)
787 {
788 op->flag [flag] = value;
789 op->set_flag_inv (flag, value);
790 }
781} 791}
782 792
783/* 793/*
784 * Remove and free all objects in the inventory of the given object. 794 * Remove and free all objects in the inventory of the given object.
785 * object.c ? 795 * object.c ?

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines