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.236 by root, Wed Apr 7 19:54:45 2010 UTC vs.
Revision 1.237 by root, Fri Apr 9 02:45:16 2010 UTC

532 || (type == SPELL_EFFECT 532 || (type == SPELL_EFFECT
533 && (subtype == SP_BULLET || subtype == SP_MAGIC_MISSILE)); } 533 && (subtype == SP_BULLET || subtype == SP_MAGIC_MISSILE)); }
534 MTH bool is_range () const { return type == BOW || type == ROD || type == WAND || type == HORN; } 534 MTH bool is_range () const { return type == BOW || type == ROD || type == WAND || type == HORN; }
535 535
536 MTH bool is_dragon () const; 536 MTH bool is_dragon () const;
537
538 MTH bool is_immunity () const { return invisible && type == SIGN; }
537 539
538 MTH bool has_active_speed () const { return speed >= MIN_ACTIVE_SPEED; } 540 MTH bool has_active_speed () const { return speed >= MIN_ACTIVE_SPEED; }
539 541
540 // temporary: wether the object can be saved in a map file 542 // temporary: wether the object can be saved in a map file
541 // contr => is a player 543 // contr => is a player

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines