This would occasionally crash on disconnect or failed teleport.

This commit is contained in:
Shyotl
2011-10-10 03:03:53 -05:00
parent 69e733ea86
commit f356a574e7

View File

@@ -422,7 +422,7 @@ void RlvAttachmentLocks::removeAttachmentPointLock(S32 idxAttachPt, const LLUUID
void RlvAttachmentLocks::updateLockedHUD()
{
LLVOAvatar* pAvatar = gAgentAvatarp;
if (!pAvatar)
if (!pAvatar || pAvatar->isDead())
return;
m_fHasLockedHUD = false;