diff options
author | Neil Moore <neil@s-z.org> | 2014-07-02 00:40:50 -0400 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2014-07-02 00:40:50 -0400 |
commit | 124869bf284c41af2c79362bc0c04fd820b26461 (patch) | |
tree | d10f6eb8e2cf8d2a9a3868332fe36687e0408b9e /crawl-ref/source/monster.cc | |
parent | df93a0c2681d754da702afb52fcc521fa42b10ad (diff) | |
download | crawl-ref-124869bf284c41af2c79362bc0c04fd820b26461.tar.gz crawl-ref-124869bf284c41af2c79362bc0c04fd820b26461.zip |
Give stasis to formicid ghosts (#8741)
Diffstat (limited to 'crawl-ref/source/monster.cc')
-rw-r--r-- | crawl-ref/source/monster.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/monster.cc b/crawl-ref/source/monster.cc index 859e9d3965..831c28d8f0 100644 --- a/crawl-ref/source/monster.cc +++ b/crawl-ref/source/monster.cc @@ -6450,8 +6450,11 @@ bool monster::check_clarity(bool silent) const bool monster::stasis(bool calc_unid, bool items) const { - if (mons_genus(type) == MONS_FORMICID) + if (mons_genus(type) == MONS_FORMICID + || type == MONS_PLAYER_GHOST && ghost->species == SP_FORMICID) + { return true; + } return actor::stasis(calc_unid, items); } |