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.220 by root, Thu Apr 24 00:30:52 2008 UTC vs.
Revision 1.221 by root, Thu Apr 24 12:06:01 2008 UTC

1073 * In this case, the object to be removed is in someones 1073 * In this case, the object to be removed is in someones
1074 * inventory. 1074 * inventory.
1075 */ 1075 */
1076 if (env) 1076 if (env)
1077 { 1077 {
1078 flag [FLAG_REMOVED] = false; // hack around the issue of visible_to checking flag_removed
1078 if (object *pl = visible_to ()) 1079 if (object *pl = visible_to ())
1079 esrv_del_item (pl->contr, count); 1080 esrv_del_item (pl->contr, count);
1081 flag [FLAG_REMOVED] = true; // hack around the issue of visible_to checking flag_removed
1080 1082
1081 adjust_weight (env, -total_weight ()); 1083 adjust_weight (env, -total_weight ());
1082 1084
1083 *(above ? &above->below : &env->inv) = below; 1085 *(above ? &above->below : &env->inv) = below;
1084 1086

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines