--- deliantra/server/include/object.h 2006/12/18 03:00:02 1.57 +++ deliantra/server/include/object.h 2006/12/19 05:41:21 1.59 @@ -302,7 +302,7 @@ /* This return true if object has still randomitems which * could be expanded. */ - bool has_random_items () const { return randomitems && flags [FLAG_IS_A_TEMPLATE]; } + bool has_random_items () const { return randomitems && !flags [FLAG_IS_A_TEMPLATE]; } // fully recursive iterator struct iterator_base @@ -401,7 +401,7 @@ /* This returns TRUE if the object is something that * should be displayed in the look window */ -#define LOOK_OBJ(ob) (!ob->invisible && ob->type!=PLAYER && ob->type!=EVENT_CONNECTOR) +#define LOOK_OBJ(ob) (!ob->invisible && ob->type != PLAYER && ob->type != EVENT_CONNECTOR) /* Used by update_object to know if the object being passed is * being added or removed.