diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llregionposition.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llregionposition.cpp b/linden/indra/newview/llregionposition.cpp index 49a747e..de2c11d 100644 --- a/linden/indra/newview/llregionposition.cpp +++ b/linden/indra/newview/llregionposition.cpp | |||
@@ -85,7 +85,7 @@ LLVector3d LLRegionPosition::getPositionGlobal() const | |||
85 | 85 | ||
86 | void LLRegionPosition::setPositionGlobal(const LLVector3d& position_global ) | 86 | void LLRegionPosition::setPositionGlobal(const LLVector3d& position_global ) |
87 | { | 87 | { |
88 | mRegionp = gWorldPointer->getRegionFromPosGlobal(position_global); | 88 | mRegionp = LLWorld::getInstance()->getRegionFromPosGlobal(position_global); |
89 | if (mRegionp) | 89 | if (mRegionp) |
90 | { | 90 | { |
91 | mPositionRegion = mRegionp->getPosRegionFromGlobal(position_global); | 91 | mPositionRegion = mRegionp->getPosRegionFromGlobal(position_global); |