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.cpp25
1 files changed, 14 insertions, 11 deletions
diff --git a/indra/newview/llworld.cpp b/indra/newview/llworld.cpp
index e45b929b6f..e2463adde3 100644
--- a/indra/newview/llworld.cpp
+++ b/indra/newview/llworld.cpp
@@ -83,22 +83,25 @@ const F32 LLWorld::mWidthInMeters = mWidth * mScale;
//
// allocate the stack
-LLWorld::LLWorld()
+LLWorld::LLWorld() :
+ mLandFarClip(DEFAULT_FAR_PLANE),
+ mLastPacketsIn(0),
+ mLastPacketsOut(0),
+ mLastPacketsLost(0),
+ mMinRegionX(0),
+ mMaxRegionX(0),
+ mMinRegionY(0),
+ mMaxRegionY(0),
+ mSpaceTimeUSec(0)
{
- mSpaceTimeUSec = 0;
- mLastPacketsIn = 0;
- mLastPacketsOut = 0;
- mLastPacketsLost = 0;
- mLandFarClip = DEFAULT_FAR_PLANE;
-
- if (gNoRender)
+ for (S32 i = 0; i < 8; i++)
{
- return;
+ mEdgeWaterObjects[i] = NULL;
}
- for (S32 i = 0; i < 8; i++)
+ if (gNoRender)
{
- mEdgeWaterObjects[i] = NULL;
+ return;
}
LLPointer<LLImageRaw> raw = new LLImageRaw(1,1,4);