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.325 by root, Wed Apr 14 21:36:31 2010 UTC vs.
Revision 1.326 by root, Thu Apr 15 00:56:40 2010 UTC

483 483
484 sum = weight_adjust_for (this, sum); 484 sum = weight_adjust_for (this, sum);
485 485
486 if (sum != carrying) 486 if (sum != carrying)
487 { 487 {
488 if (carrying != sum)//D
489 LOG (llevDebug, "updating weight got %ld, expected %ld (%s)\n",
490 (long long)sum, (long long)carrying, debug_desc ());
491
488 carrying = sum; 492 carrying = sum;
489 493
490 if (object *pl = visible_to ()) 494 if (object *pl = visible_to ())
491 if (pl != this) // player is handled lazily 495 if (pl != this) // player is handled lazily
492 esrv_update_item (UPD_WEIGHT, pl, this); 496 esrv_update_item (UPD_WEIGHT, pl, this);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines