summaryrefslogtreecommitdiff
path: root/indra/newview/llworld.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llworld.cpp')
-rw-r--r--indra/newview/llworld.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llworld.cpp b/indra/newview/llworld.cpp
index 83420f8761..f6116eb718 100644
--- a/indra/newview/llworld.cpp
+++ b/indra/newview/llworld.cpp
@@ -790,7 +790,10 @@ void LLWorld::updateWaterObjects()
// First, determine the min and max "box" of water objects
bool first = true;
- S32 min_x, min_y, max_x, max_y;
+ S32 min_x = 0;
+ S32 min_y = 0;
+ S32 max_x = 0;
+ S32 max_y = 0;
U32 region_x, region_y;
S32 rwidth = llfloor(getRegionWidthInMeters());