--- deliantra/server/include/object.h 2008/04/21 23:35:24 1.166 +++ deliantra/server/include/object.h 2008/04/24 00:30:52 1.168 @@ -541,13 +541,19 @@ } /* This returns TRUE if the object is something that - * should be displayed in the floorbox/inventory window + * a client might want to know about. */ MTH bool client_visible () const { return !invisible && type != PLAYER; } + // the client does nrof * this weight + MTH sint32 client_weight () const + { + return weight + carrying; + } + MTH struct region *region () const; void statusmsg (const char *msg, int color = NDI_BLACK);