summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-25 17:48:23 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-25 17:48:23 +0000
commit35cfeb762010751d217fff7b9e2aa95719ddd899 (patch)
tree9cdc2e101d4c975b30d70fdd4452b689245f413c /crawl-ref/source
parentf5526da8ba8130dd9f03e7e97406537d95866268 (diff)
downloadcrawl-ref-35cfeb762010751d217fff7b9e2aa95719ddd899.tar.gz
crawl-ref-35cfeb762010751d217fff7b9e2aa95719ddd899.zip
Fix compilation.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5237 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source')
-rw-r--r--crawl-ref/source/monstuff.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc
index 36562bcf19..5d782c3120 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -2102,7 +2102,7 @@ void behaviour_event( monsters *mon, int event, int src,
case ME_CORNERED:
// Plants or nonliving monsters cannot flee.
- if (mons_class_holiness(mon->type) == MH_PLANT)
+ if (mons_class_holiness(mon->type) == MH_PLANT
|| mons_class_holiness(mon->type) == MH_NONLIVING)
{
break;