diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-13 15:35:14 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-13 15:35:14 +0000 |
commit | 84912ad5cf2a8bbc40a7a6e4f3aa8607c04238d6 (patch) | |
tree | dace1bf8c80c1e8dd5e18f5db87a7ecb30f138d2 /crawl-ref/source/mon-util.h | |
parent | 14548892e26d872d3e51d7e6a4ba05deae29d4b0 (diff) | |
download | crawl-ref-84912ad5cf2a8bbc40a7a6e4f3aa8607c04238d6.tar.gz crawl-ref-84912ad5cf2a8bbc40a7a6e4f3aa8607c04238d6.zip |
Abolish M_HUMANOID flag as it wasn't used anywhere. Comments claimed
it was necessary for Glamour but even that appears to have used
another function, mons_is_humanoid(), that made checks against
monster glyph instead. Strange.
So in case anyone is badly in need of a monster flag, no. 15 is free! :)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3623 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mon-util.h')
-rw-r--r-- | crawl-ref/source/mon-util.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/mon-util.h b/crawl-ref/source/mon-util.h index 183c6be382..2aad04d707 100644 --- a/crawl-ref/source/mon-util.h +++ b/crawl-ref/source/mon-util.h @@ -104,7 +104,7 @@ enum mons_class_flags M_SPLITS = (1<<12), // monster can split M_AMPHIBIOUS = (1<<13), // monster can swim in water, M_THICK_SKIN = (1<<14), // monster has more effective AC, - M_HUMANOID = (1<<15), // for Glamour + M_RESERVED = (1<<15), // currently UNUSED M_COLD_BLOOD = (1<<16), // susceptible to cold M_WARM_BLOOD = (1<<17), // no effect currently M_REGEN = (1<<18), // regenerates quickly @@ -477,7 +477,6 @@ mon_holy_type mons_holiness(const monsters *); bool mons_is_mimic( int mc ); bool mons_is_statue(int mc); bool mons_is_demon( int mc ); -bool mons_is_humanoid( int mc ); bool mons_wields_two_weapons(const monsters *m); bool mons_wields_two_weapons(monster_type m); |