diff options
author | Adam Borowski <kilobyte@angband.pl> | 2011-01-18 22:35:50 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2011-01-18 22:35:50 +0100 |
commit | 95bd759aaf27b8c17acb1d3c672c36154d62f650 (patch) | |
tree | d265776b6a80db39c92219d7dbf50dd566a8fedf /crawl-ref/source/map_knowledge.h | |
parent | f1680c183e1474eff2d4332bf117d91a3000ead1 (diff) | |
download | crawl-ref-95bd759aaf27b8c17acb1d3c672c36154d62f650.tar.gz crawl-ref-95bd759aaf27b8c17acb1d3c672c36154d62f650.zip |
Make detected monsters work in tiles.
This might be totally wrong, though.
Diffstat (limited to 'crawl-ref/source/map_knowledge.h')
-rw-r--r-- | crawl-ref/source/map_knowledge.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/map_knowledge.h b/crawl-ref/source/map_knowledge.h index 6a4b35e74c..b367064ebe 100644 --- a/crawl-ref/source/map_knowledge.h +++ b/crawl-ref/source/map_knowledge.h @@ -164,7 +164,8 @@ struct map_cell void set_detected_monster(monster_type mons) { clear_monster(); - _mons = new monster_info(mons); + _mons = new monster_info(MONS_SENSED); + _mons->base_type = mons; flags |= MAP_DETECTED_MONSTER; } |