summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermessage.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-10-23 15:38:13 +0300
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-10-29 23:04:00 +0200
commit1c393aed78753093e77fd5ca595d4e6108cf858c (patch)
tree69b5181da7c795e41bacb231e7051a7d3cb5a180 /indra/newview/llviewermessage.cpp
parentdab2fa75dd3ab599aecc18ace6c688b7e78dfaa0 (diff)
#4884 Crash at resetRegionCrossingTimer
Diffstat (limited to 'indra/newview/llviewermessage.cpp')
-rw-r--r--indra/newview/llviewermessage.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp
index 16b7ac33b8..e9f6d7175e 100644
--- a/indra/newview/llviewermessage.cpp
+++ b/indra/newview/llviewermessage.cpp
@@ -3139,7 +3139,10 @@ void process_crossed_region(LLMessageSystem* msg, void**)
return;
}
LL_INFOS("Messaging") << "process_crossed_region()" << LL_ENDL;
- gAgentAvatarp->resetRegionCrossingTimer();
+ if (isAgentAvatarValid())
+ {
+ gAgentAvatarp->resetRegionCrossingTimer();
+ }
U32 sim_ip;
msg->getIPAddrFast(_PREHASH_RegionData, _PREHASH_SimIP, sim_ip);