diff options
Diffstat (limited to 'linden/indra/newview/llnetmap.cpp')
-rw-r--r-- | linden/indra/newview/llnetmap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llnetmap.cpp b/linden/indra/newview/llnetmap.cpp index 35982c8..9c607e0 100644 --- a/linden/indra/newview/llnetmap.cpp +++ b/linden/indra/newview/llnetmap.cpp | |||
@@ -74,6 +74,7 @@ const F32 MAP_SCALE_MAX = 512; | |||
74 | const F32 MAP_SCALE_INCREMENT = 16; | 74 | const F32 MAP_SCALE_INCREMENT = 16; |
75 | const F32 MAP_MIN_PICK_DIST = 4; | 75 | const F32 MAP_MIN_PICK_DIST = 4; |
76 | const F32 MAP_MINOR_DIR_THRESHOLD = 0.08f; | 76 | const F32 MAP_MINOR_DIR_THRESHOLD = 0.08f; |
77 | const S32 SLOP = 2; | ||
77 | 78 | ||
78 | const S32 TRACKING_RADIUS = 3; | 79 | const S32 TRACKING_RADIUS = 3; |
79 | 80 | ||
@@ -800,7 +801,6 @@ BOOL LLNetMap::outsideSlop(S32 x, S32 y, S32 start_x, S32 start_y) | |||
800 | { | 801 | { |
801 | S32 dx = x - start_x; | 802 | S32 dx = x - start_x; |
802 | S32 dy = y - start_y; | 803 | S32 dy = y - start_y; |
803 | S32 SLOP = 4; | ||
804 | 804 | ||
805 | return (dx <= -SLOP || SLOP <= dx || dy <= -SLOP || SLOP <= dy); | 805 | return (dx <= -SLOP || SLOP <= dx || dy <= -SLOP || SLOP <= dy); |
806 | } | 806 | } |