From 5e110769e55e38daa60f65a1a795885ec8f6b462 Mon Sep 17 00:00:00 2001 From: dolorous Date: Wed, 29 Apr 2009 04:48:29 +0000 Subject: Check for the ogre genus in more places, in case another ogre species is ever added. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9701 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/fight.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/fight.cc') diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc index b9a417cae1..4fc6f5df53 100644 --- a/crawl-ref/source/fight.cc +++ b/crawl-ref/source/fight.cc @@ -206,7 +206,7 @@ int calc_heavy_armour_penalty( bool random_factor ) heavy_armour++; break; case ARM_LARGE_SHIELD: - if (you.species == SP_OGRE || you.species == SP_TROLL + if (player_genus(GENPC_OGRE) || you.species == SP_TROLL || player_genus(GENPC_DRACONIAN)) { if (you.skills[SK_SHIELDS] < maybe_random2(13, random_factor)) -- cgit v1.2.3-54-g00ecf