… | … | ||
---|---|---|---|
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]; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |