diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-11-08 10:43:24 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-11-08 10:43:24 +0100 |
commit | 23433172af7418c9cf15d24518e80a514b4ec7ae (patch) | |
tree | 101150ba645acf24c6b99fd679d8c17f339ffb20 | |
parent | 2c53503bb6c9178c9948211626661994a7c87e3b (diff) | |
download | crawl-ref-23433172af7418c9cf15d24518e80a514b4ec7ae.tar.gz crawl-ref-23433172af7418c9cf15d24518e80a514b4ec7ae.zip |
Give holy monsters a small halo.
This is mostly an experiment to see if the latest changes work.
Feel free to improve on this.
-rw-r--r-- | crawl-ref/source/halo.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/halo.cc b/crawl-ref/source/halo.cc index 17af683fd2..66cba23359 100644 --- a/crawl-ref/source/halo.cc +++ b/crawl-ref/source/halo.cc @@ -32,7 +32,10 @@ int player::halo_radius() const int monsters::halo_radius() const { - return 0; + if (holiness() == MH_HOLY) + return (2); + else + return (0); } // XXX: This might become too expensive; possibly, keep |