ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/object.h
(Generate patch)

Comparing deliantra/server/include/object.h (file contents):
Revision 1.57 by root, Mon Dec 18 03:00:02 2006 UTC vs.
Revision 1.58 by elmex, Mon Dec 18 17:39:17 2006 UTC

300 && (subtype == SP_BULLET || subtype == SP_MAGIC_MISSILE)); } 300 && (subtype == SP_BULLET || subtype == SP_MAGIC_MISSILE)); }
301 301
302 /* This return true if object has still randomitems which 302 /* This return true if object has still randomitems which
303 * could be expanded. 303 * could be expanded.
304 */ 304 */
305 bool has_random_items () const { return randomitems && flags [FLAG_IS_A_TEMPLATE]; } 305 bool has_random_items () const { return randomitems && !flags [FLAG_IS_A_TEMPLATE]; }
306 306
307 // fully recursive iterator 307 // fully recursive iterator
308 struct iterator_base 308 struct iterator_base
309 { 309 {
310 object *item; 310 object *item;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines