diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-18 18:02:48 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-18 18:02:48 +0000 |
commit | 8330288d5b40dff70133b430bb8c00d12830328f (patch) | |
tree | 6774c0dd0dbbda0f001e0603334d9bebc2bf4d0e /crawl-ref/source/externs.h | |
parent | 6b43ac0d8bbf3dadc5c08d6b5a124ceb7460719c (diff) | |
download | crawl-ref-8330288d5b40dff70133b430bb8c00d12830328f.tar.gz crawl-ref-8330288d5b40dff70133b430bb8c00d12830328f.zip |
Make backlit() take the glow of TSO's halo into account, so that both
the player and monsters aren't marked as glowing from it except when
invisible.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4340 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/externs.h')
-rw-r--r-- | crawl-ref/source/externs.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/externs.h b/crawl-ref/source/externs.h index 916c63f5c3..9399eb7034 100644 --- a/crawl-ref/source/externs.h +++ b/crawl-ref/source/externs.h @@ -200,7 +200,7 @@ public: virtual bool confused() const = 0; virtual bool caught() const = 0; virtual bool asleep() const { return (false); } - virtual bool backlit() const = 0; + virtual bool backlit(bool check_halo = true) const = 0; virtual void god_conduct(conduct_type thing_done, int level) { } @@ -882,7 +882,7 @@ public: bool paralysed() const; bool confused() const; bool caught() const; - bool backlit() const; + bool backlit(bool check_halo = true) const; bool asleep() const; void put_to_sleep(int power = 0); @@ -1184,7 +1184,7 @@ public: bool confused() const; bool caught() const; bool asleep() const; - bool backlit() const; + bool backlit(bool check_halo = true) const; int holy_aura() const; |