diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-11-08 10:01:11 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-11-08 10:02:38 +0100 |
commit | 6a883aea39bceefb34718c699ee3877d33b6d2ba (patch) | |
tree | 7dfc750f9da300c069643661ec329b969515c897 /crawl-ref/source/monster.cc | |
parent | 14710e6fd41d63a20a68342b6604d48de3a6b621 (diff) | |
download | crawl-ref-6a883aea39bceefb34718c699ee3877d33b6d2ba.tar.gz crawl-ref-6a883aea39bceefb34718c699ee3877d33b6d2ba.zip |
Add a general halo interface to actor.
Also convert the TSO halo to use this. actor::haloed() is still
specific to the player TSO halo.
Diffstat (limited to 'crawl-ref/source/monster.cc')
-rw-r--r-- | crawl-ref/source/monster.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/crawl-ref/source/monster.cc b/crawl-ref/source/monster.cc index 2c3a549479..c082ac30cd 100644 --- a/crawl-ref/source/monster.cc +++ b/crawl-ref/source/monster.cc @@ -2809,11 +2809,6 @@ bool monsters::backlit(bool check_haloed) const || ((check_haloed) ? haloed() : false)); } -bool monsters::haloed() const -{ - return (inside_halo(pos())); -} - bool monsters::caught() const { return this->has_ench(ENCH_HELD); |