diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-12-15 22:34:55 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-12-15 23:16:43 +0100 |
commit | f81fc34f7f4f4cab5ba1cc01ba8c0e96498574a4 (patch) | |
tree | 9912318671f72f26db66d7eb483dc3b63a1b7856 /crawl-ref/source/view.cc | |
parent | 02256d318a68bc0fed1949633981fc14d2f7147c (diff) | |
download | crawl-ref-f81fc34f7f4f4cab5ba1cc01ba8c0e96498574a4.tar.gz crawl-ref-f81fc34f7f4f4cab5ba1cc01ba8c0e96498574a4.zip |
Remove Mislead.
It was a pure interface screw, and even worse, required a large amount of
support code that's a maintenance burden, causing crashes we need to fix
from time to time.
Diffstat (limited to 'crawl-ref/source/view.cc')
-rw-r--r-- | crawl-ref/source/view.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/crawl-ref/source/view.cc b/crawl-ref/source/view.cc index bb5fb3997d..2fb7bf5402 100644 --- a/crawl-ref/source/view.cc +++ b/crawl-ref/source/view.cc @@ -290,12 +290,7 @@ void update_monsters_in_view() map<monster_type, int> genera; // This is the plural for genus! for (unsigned int i = 0; i < size; ++i) { - monster_type type; - if (monsters[i]->props.exists("mislead_as") && you.misled()) - type = monsters[i]->get_mislead_type(); - else - type = monsters[i]->type; - + const monster_type type = monsters[i]->type; types[type]++; genera[mons_genus(type)]++; } |