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.175 by root, Fri Aug 10 01:47:52 2007 UTC vs.
Revision 1.176 by root, Fri Aug 10 11:02:43 2007 UTC

2344 * Cf 0.91.3 - don't let WIZ's pick up anything - will likely cause 2344 * Cf 0.91.3 - don't let WIZ's pick up anything - will likely cause
2345 * core dumps if they do. 2345 * core dumps if they do.
2346 * 2346 *
2347 * Add a check so we can't pick up invisible objects (0.93.8) 2347 * Add a check so we can't pick up invisible objects (0.93.8)
2348 */ 2348 */
2349
2350int 2349int
2351can_pick (const object *who, const object *item) 2350can_pick (const object *who, const object *item)
2352{ 2351{
2353 return /*QUERY_FLAG(who,FLAG_WIZ)|| */ 2352 return /*QUERY_FLAG(who,FLAG_WIZ)|| */
2354 (item->weight > 0 && !QUERY_FLAG (item, FLAG_NO_PICK) && 2353 (item->weight > 0 && !QUERY_FLAG (item, FLAG_NO_PICK) &&

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines