diff options
Diffstat (limited to 'linden/indra/newview/llwind.cpp')
-rw-r--r-- | linden/indra/newview/llwind.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/llwind.cpp b/linden/indra/newview/llwind.cpp index 5d20112..3b18835 100644 --- a/linden/indra/newview/llwind.cpp +++ b/linden/indra/newview/llwind.cpp | |||
@@ -237,7 +237,7 @@ LLVector3 LLWind::getVelocity(const LLVector3 &pos_region) | |||
237 | 237 | ||
238 | LLVector3 pos_clamped_region(pos_region); | 238 | LLVector3 pos_clamped_region(pos_region); |
239 | 239 | ||
240 | F32 region_width_meters = gWorldPointer->getRegionWidthInMeters(); | 240 | F32 region_width_meters = LLWorld::getInstance()->getRegionWidthInMeters(); |
241 | 241 | ||
242 | if (pos_clamped_region.mV[VX] < 0.f) | 242 | if (pos_clamped_region.mV[VX] < 0.f) |
243 | { | 243 | { |
@@ -299,7 +299,7 @@ LLVector3 LLWind::getCloudVelocity(const LLVector3 &pos_region) | |||
299 | 299 | ||
300 | LLVector3 pos_clamped_region(pos_region); | 300 | LLVector3 pos_clamped_region(pos_region); |
301 | 301 | ||
302 | F32 region_width_meters = gWorldPointer->getRegionWidthInMeters(); | 302 | F32 region_width_meters = LLWorld::getInstance()->getRegionWidthInMeters(); |
303 | 303 | ||
304 | if (pos_clamped_region.mV[VX] < 0.f) | 304 | if (pos_clamped_region.mV[VX] < 0.f) |
305 | { | 305 | { |