diff options
Diffstat (limited to 'indra/newview/llwind.cpp')
-rw-r--r-- | indra/newview/llwind.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llwind.cpp b/indra/newview/llwind.cpp index 96a985f694..a362f76a2c 100644 --- a/indra/newview/llwind.cpp +++ b/indra/newview/llwind.cpp @@ -237,7 +237,7 @@ LLVector3 LLWind::getVelocity(const LLVector3 &pos_region) LLVector3 pos_clamped_region(pos_region); - F32 region_width_meters = gWorldPointer->getRegionWidthInMeters(); + F32 region_width_meters = LLWorld::getInstance()->getRegionWidthInMeters(); if (pos_clamped_region.mV[VX] < 0.f) { @@ -299,7 +299,7 @@ LLVector3 LLWind::getCloudVelocity(const LLVector3 &pos_region) LLVector3 pos_clamped_region(pos_region); - F32 region_width_meters = gWorldPointer->getRegionWidthInMeters(); + F32 region_width_meters = LLWorld::getInstance()->getRegionWidthInMeters(); if (pos_clamped_region.mV[VX] < 0.f) { |