summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/output.cc
diff options
context:
space:
mode:
authorJohanna Ploog <j-p-e-g@users.sourceforge.net>2010-01-13 13:40:41 +0100
committerJohanna Ploog <j-p-e-g@users.sourceforge.net>2010-01-13 15:52:25 +0100
commit598f36ee1bca9a725456665c8d0f999851fb96de (patch)
tree1ba732216c4a98a079bf221a8d4fae134025b85e /crawl-ref/source/output.cc
parented8f8e0dbefef13fc35572729c5f6b5cf70ebc1b (diff)
downloadcrawl-ref-598f36ee1bca9a725456665c8d0f999851fb96de.tar.gz
crawl-ref-598f36ee1bca9a725456665c8d0f999851fb96de.zip
Don't allow spellcasters to throw items at you.
I had two orc priests throw their spears at me instead of smiting me. Monsters with a ranged attack were prevented from picking up missiles but not from throwing their melee weapons. If we want e.g. mermaids to be able to throw stuff at the player, we will have to tweak the check to ignore some los abilities.
Diffstat (limited to 'crawl-ref/source/output.cc')
-rw-r--r--crawl-ref/source/output.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/output.cc b/crawl-ref/source/output.cc
index 7a55f02527..8226d157f0 100644
--- a/crawl-ref/source/output.cc
+++ b/crawl-ref/source/output.cc
@@ -308,7 +308,7 @@ static void _print_stats_mp(int x, int y)
for (int i = 11-col; i > 0; i--)
cprintf(" ");
- if (! Options.classic_hud)
+ if (!Options.classic_hud)
MP_Bar.draw(19, y, you.magic_points, you.max_magic_points);
}