diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-06-30 15:53:00 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-06-30 15:53:00 +0000 |
commit | 995e35a5faf111223e24caeecc97c47cfe050e5a (patch) | |
tree | 04051f3eff86a65608b793a35632ede4ebabfbba /crawl-ref/source/enum.h | |
parent | e732b7ba119a0d15a9222e4e20ed9179fffc466f (diff) | |
download | crawl-ref-995e35a5faf111223e24caeecc97c47cfe050e5a.tar.gz crawl-ref-995e35a5faf111223e24caeecc97c47cfe050e5a.zip |
Fix [2813620]: The sizes of player nagas and centaurs don't match the
sizes of their monster equivalents. The latter are SIZE_BIG, while the
former are, at most, SIZE_LARGE; and SIZE_BIG, in addition to being one
value higher than SIZE_LARGE, allows use of two-handed weapons as though
they're one-and-a-half-handed weapons under the current logic in
hands_reqd(). For now, fix this by making monster nagas and centaurs
(and all other monsters capable of using weapons and armour) no bigger
than SIZE_LARGE.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10081 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/enum.h')
-rw-r--r-- | crawl-ref/source/enum.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/enum.h b/crawl-ref/source/enum.h index 9905fb912f..8b696fc5cc 100644 --- a/crawl-ref/source/enum.h +++ b/crawl-ref/source/enum.h @@ -2513,8 +2513,8 @@ enum size_type SIZE_LITTLE, // spriggans SIZE_SMALL, // halflings/kobolds SIZE_MEDIUM, // humans/elves/dwarves - SIZE_LARGE, // trolls/ogres - SIZE_BIG, // large quadrupeds/centaurs/nagas + SIZE_LARGE, // trolls/ogres/centaurs/nagas + SIZE_BIG, // large quadrupeds SIZE_GIANT, // giants SIZE_HUGE, // dragons NUM_SIZE_LEVELS, |