summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-03-31 16:46:57 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-03-31 16:46:57 +0100
commit8f5e094757b6ac0ee7f2eeb1a1f386938b390981 (patch)
treef6257c94e30ca2924fa21cbf0c1fc5a4db53e8e5
parent3e11f81b693cf17e767d8890a5d02ae2c152d20f (diff)
recent crash regression fix from Seraph.
-rw-r--r--indra/newview/llviewermessage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp
index 6dc0983f10..5f8c03b545 100644
--- a/indra/newview/llviewermessage.cpp
+++ b/indra/newview/llviewermessage.cpp
@@ -4031,7 +4031,7 @@ void process_avatar_animation(LLMessageSystem *mesgsys, void **user_data)
//clear animation flags
avatarp = (LLVOAvatar *)gObjectList.findObject(uuid);
- if (!isAgentAvatarValid())
+ if (!avatarp)
{
// no agent by this ID...error?
LL_WARNS("Messaging") << "Received animation state for unknown avatar" << uuid << LL_ENDL;