diff options
Diffstat (limited to 'linden/indra/newview/hippoLimits.cpp')
-rw-r--r-- | linden/indra/newview/hippoLimits.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/hippoLimits.cpp b/linden/indra/newview/hippoLimits.cpp index 78a5856..a5d6ee6 100644 --- a/linden/indra/newview/hippoLimits.cpp +++ b/linden/indra/newview/hippoLimits.cpp | |||
@@ -215,9 +215,9 @@ F32 HippoLimits::getMaxDragDistance() const | |||
215 | { | 215 | { |
216 | F32 max_drag_distance = gSavedSettings.getBOOL("LimitDragDistance") ? gSavedSettings.getF32("MaxDragDistance") : FLT_MAX; | 216 | F32 max_drag_distance = gSavedSettings.getBOOL("LimitDragDistance") ? gSavedSettings.getF32("MaxDragDistance") : FLT_MAX; |
217 | 217 | ||
218 | if(max_drag_distance > gHippoLimits->getMaxDragDistance()) //Chose the more restrictive | 218 | if(max_drag_distance > mMaxDragDistance) //Chose the more restrictive |
219 | { | 219 | { |
220 | max_drag_distance = gHippoLimits->getMaxDragDistance(); | 220 | max_drag_distance = mMaxDragDistance; |
221 | } | 221 | } |
222 | return max_drag_distance; | 222 | return max_drag_distance; |
223 | } | 223 | } |