diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-09-20 14:46:47 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-09-20 14:46:47 +0000 |
commit | d9d67a71bcda20fd3c629ba2475396a91afe0d16 (patch) | |
tree | 95b838c4c273ca823cf669c4a14df51f3bc8f09d /crawl-ref/source/mon-util.h | |
parent | 7f87a01c11f21ffa4dbb9660268eaa88494237ae (diff) | |
download | crawl-ref-d9d67a71bcda20fd3c629ba2475396a91afe0d16.tar.gz crawl-ref-d9d67a71bcda20fd3c629ba2475396a91afe0d16.zip |
Convert asphyxiation resistance to a boolean, since you can either be
asphyxiated or not.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10742 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mon-util.h')
-rw-r--r-- | crawl-ref/source/mon-util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/mon-util.h b/crawl-ref/source/mon-util.h index f871a05e5b..1754e1bd67 100644 --- a/crawl-ref/source/mon-util.h +++ b/crawl-ref/source/mon-util.h @@ -383,9 +383,9 @@ struct mon_resist_def short steam; short cold; short hellfire; - short asphyx; short acid; + bool asphyx; bool sticky_flame; bool rotting; @@ -618,12 +618,12 @@ int mons_res_elec(const monsters *mon); int mons_res_fire(const monsters *mon); int mons_res_steam(const monsters *mon); int mons_res_poison(const monsters *mon); +int mons_res_asphyx(const monsters *mon); int mons_res_sticky_flame(const monsters *mon); int mons_res_rotting(const monsters *mon); int mons_res_acid(const monsters *mon); int mons_res_negative_energy(const monsters *mon); int mons_res_miasma(const monsters *mon); -bool mons_res_asphyx(const monsters *mon); // last updated 12may2000 {dlb} |