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.189 by root, Tue Dec 23 00:39:48 2008 UTC vs.
Revision 1.190 by root, Tue Dec 23 01:13:15 2008 UTC

536 } 536 }
537 537
538 MTH bool is_inserted () const 538 MTH bool is_inserted () const
539 { 539 {
540 return !flag [FLAG_REMOVED]; 540 return !flag [FLAG_REMOVED];
541 }
542
543 MTH bool is_player () const
544 {
545 return !!contr;
541 } 546 }
542 547
543 MTH bool affects_los () const 548 MTH bool affects_los () const
544 { 549 {
545 return glow_radius || flag [FLAG_BLOCKSVIEW]; 550 return glow_radius || flag [FLAG_BLOCKSVIEW];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines