summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-cast.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-04-29 04:48:29 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-04-29 04:48:29 +0000
commit5e110769e55e38daa60f65a1a795885ec8f6b462 (patch)
treee49588fb012726848a76f3940b8bd8596c4d6901 /crawl-ref/source/spl-cast.cc
parent5fd8034bab1bbd5d4480507b076fb7b67bef0299 (diff)
downloadcrawl-ref-5e110769e55e38daa60f65a1a795885ec8f6b462.tar.gz
crawl-ref-5e110769e55e38daa60f65a1a795885ec8f6b462.zip
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
Diffstat (limited to 'crawl-ref/source/spl-cast.cc')
-rw-r--r--crawl-ref/source/spl-cast.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc
index 87f529fac8..4bdc390c61 100644
--- a/crawl-ref/source/spl-cast.cc
+++ b/crawl-ref/source/spl-cast.cc
@@ -371,7 +371,7 @@ int spell_fail(spell_type spell)
case ARM_LARGE_SHIELD:
// *BCR* Large chars now get a lower penalty for large shields
- if (you.species == SP_OGRE || you.species == SP_TROLL
+ if (player_genus(GENPC_OGRE) || you.species == SP_TROLL
|| player_genus(GENPC_DRACONIAN))
{
chance += 20;