This would occasionally crash on disconnect or failed teleport.
This commit is contained in:
@@ -422,7 +422,7 @@ void RlvAttachmentLocks::removeAttachmentPointLock(S32 idxAttachPt, const LLUUID
|
|||||||
void RlvAttachmentLocks::updateLockedHUD()
|
void RlvAttachmentLocks::updateLockedHUD()
|
||||||
{
|
{
|
||||||
LLVOAvatar* pAvatar = gAgentAvatarp;
|
LLVOAvatar* pAvatar = gAgentAvatarp;
|
||||||
if (!pAvatar)
|
if (!pAvatar || pAvatar->isDead())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
m_fHasLockedHUD = false;
|
m_fHasLockedHUD = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user