summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/mon-util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc
index 39d115431a..aeb1c84ec5 100644
--- a/crawl-ref/source/mon-util.cc
+++ b/crawl-ref/source/mon-util.cc
@@ -7300,7 +7300,7 @@ actor *monsters::get_foe() const
if (foe == MHITNOT)
return (NULL);
else if (foe == MHITYOU)
- return (mons_friendly(this)? NULL : &you);
+ return (mons_friendly(this) ? NULL : &you);
// Must be a monster!
monsters *my_foe = &menv[foe];