From d9d67a71bcda20fd3c629ba2475396a91afe0d16 Mon Sep 17 00:00:00 2001 From: dolorous Date: Sun, 20 Sep 2009 14:46:47 +0000 Subject: 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 --- crawl-ref/source/mon-util.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/mon-util.h') 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} -- cgit v1.2.3-54-g00ecf