… | |
… | |
554 | } |
554 | } |
555 | |
555 | |
556 | MTH bool affects_los () const |
556 | MTH bool affects_los () const |
557 | { |
557 | { |
558 | return glow_radius || flag [FLAG_BLOCKSVIEW]; |
558 | return glow_radius || flag [FLAG_BLOCKSVIEW]; |
|
|
559 | } |
|
|
560 | |
|
|
561 | MTH bool has_carried_lights () const |
|
|
562 | { |
|
|
563 | return glow_radius; |
559 | } |
564 | } |
560 | |
565 | |
561 | // returns the player that cna see this object, if any |
566 | // returns the player that cna see this object, if any |
562 | MTH object *visible_to () const; |
567 | MTH object *visible_to () const; |
563 | |
568 | |