summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/it_use3.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/it_use3.cc')
-rw-r--r--crawl-ref/source/it_use3.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/crawl-ref/source/it_use3.cc b/crawl-ref/source/it_use3.cc
index ee168bf1ee..d96d9c66b1 100644
--- a/crawl-ref/source/it_use3.cc
+++ b/crawl-ref/source/it_use3.cc
@@ -259,11 +259,8 @@ static void reaching_weapon_attack(void)
// if we're attacking more than a space away
if ((x_distance > 1) || (y_distance > 1))
{
-
-#define MAX(x,y) (((x) > (y)) ? (x) : (y))
x_middle = MAX(beam.tx, you.x_pos) - (x_distance / 2);
y_middle = MAX(beam.ty, you.y_pos) - (y_distance / 2);
-#undef MAX
// if either the x or the y is the same, we should check for
// a monster: