summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llviewerobject.cpp')
-rw-r--r--indra/newview/llviewerobject.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/indra/newview/llviewerobject.cpp b/indra/newview/llviewerobject.cpp
index f3eb75bcd0..8860b734bb 100644
--- a/indra/newview/llviewerobject.cpp
+++ b/indra/newview/llviewerobject.cpp
@@ -134,15 +134,15 @@ LLViewerObject *LLViewerObject::createObject(const LLUUID &id, const LLPCode pco
{
if (id == gAgentID)
{
- if (!gAgentAvatar)
+ if (!gAgentAvatarp)
{
- gAgentAvatar = new LLVOAvatarSelf(id, pcode, regionp);
+ gAgentAvatarp = new LLVOAvatarSelf(id, pcode, regionp);
}
else
{
- gAgentAvatar->updateRegion(regionp);
+ gAgentAvatarp->updateRegion(regionp);
}
- res = gAgentAvatar;
+ res = gAgentAvatarp;
}
else
{
@@ -388,7 +388,7 @@ void LLViewerObject::markDead()
if (isAgentAvatarValid())
{
// stop motions associated with this object
- gAgentAvatar->stopMotionFromSource(mID);
+ gAgentAvatarp->stopMotionFromSource(mID);
}
}