summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-info.h
diff options
context:
space:
mode:
authorShmuale Mark <shm.mark@gmail.com>2014-03-06 21:55:29 -0500
committerShmuale Mark <shm.mark@gmail.com>2014-03-06 22:31:27 -0500
commit48382f717c41f581fc5c3b6014c686f840b3019a (patch)
tree32934f96376db9af3bc1b7090dd085c47956c397 /crawl-ref/source/mon-info.h
parentfec218c2940d4f2f9f03297ab67a74ce059bf44a (diff)
downloadcrawl-ref-48382f717c41f581fc5c3b6014c686f840b3019a.tar.gz
crawl-ref-48382f717c41f581fc5c3b6014c686f840b3019a.zip
Try to make player ghost / pandemonium lord see invisible show up right.
Previously, it simply checked whether the base type had see invisible. This was worthless in the case of panlords and ghosts, since whether they could see invisble was based on info they got in their ghost_demon struct.
Diffstat (limited to 'crawl-ref/source/mon-info.h')
-rw-r--r--crawl-ref/source/mon-info.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-info.h b/crawl-ref/source/mon-info.h
index 3671526dbb..6229d2ea04 100644
--- a/crawl-ref/source/mon-info.h
+++ b/crawl-ref/source/mon-info.h
@@ -210,6 +210,7 @@ struct monster_info : public monster_info_base
short damage;
short ac;
monster_type acting_part;
+ bool can_sinv;
} ghost;
} u;