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.84 by root, Tue Jan 9 21:32:42 2007 UTC vs.
Revision 1.85 by root, Thu Jan 11 01:10:01 2007 UTC

304 304
305 // temporary: wether the object can be saved in a map file 305 // temporary: wether the object can be saved in a map file
306 // contr => is a player 306 // contr => is a player
307 // head => only save head of a multitile object 307 // head => only save head of a multitile object
308 // owner => can not reference owner yet 308 // owner => can not reference owner yet
309 MTH bool can_map_save () const { return !contr && !head && !owner; } 309 MTH bool can_map_save () const { return !contr && !head && !owner && !flag [FLAG_NO_SAVE]; }
310 310
311 /* This return true if object has still randomitems which 311 /* This return true if object has still randomitems which
312 * could be expanded. 312 * could be expanded.
313 */ 313 */
314 MTH bool has_random_items () const { return randomitems && !flag [FLAG_IS_A_TEMPLATE]; } 314 MTH bool has_random_items () const { return randomitems && !flag [FLAG_IS_A_TEMPLATE]; }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines