aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llnetmap.cpp
diff options
context:
space:
mode:
authorMcCabe Maxsted2009-06-13 08:02:24 -0700
committerMcCabe Maxsted2009-06-13 08:02:24 -0700
commitfd75325d1ce71ab17605783b7d5e64d0c41032bd (patch)
tree417844b82bbd0f8d9845f3944f900eeae2de1c4c /linden/indra/newview/llnetmap.cpp
parentShow muted avatars as grey in the mini-map (diff)
downloadmeta-impy-fd75325d1ce71ab17605783b7d5e64d0c41032bd.zip
meta-impy-fd75325d1ce71ab17605783b7d5e64d0c41032bd.tar.gz
meta-impy-fd75325d1ce71ab17605783b7d5e64d0c41032bd.tar.bz2
meta-impy-fd75325d1ce71ab17605783b7d5e64d0c41032bd.tar.xz
Cleaned up some old unused references
Diffstat (limited to 'linden/indra/newview/llnetmap.cpp')
-rw-r--r--linden/indra/newview/llnetmap.cpp2
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;
74const F32 MAP_SCALE_INCREMENT = 16; 74const F32 MAP_SCALE_INCREMENT = 16;
75const F32 MAP_MIN_PICK_DIST = 4; 75const F32 MAP_MIN_PICK_DIST = 4;
76const F32 MAP_MINOR_DIR_THRESHOLD = 0.08f; 76const F32 MAP_MINOR_DIR_THRESHOLD = 0.08f;
77const S32 SLOP = 2;
77 78
78const S32 TRACKING_RADIUS = 3; 79const 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}