summaryrefslogtreecommitdiff
path: root/indra/newview/llagent.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2021-09-27 21:23:49 +0100
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2021-09-27 21:23:49 +0100
commit502d37913d3df8abb4e8e103c446e24ded2996a6 (patch)
tree7543bf092b44a4e166f2c2f61a38e93450c0c24f /indra/newview/llagent.cpp
parentec16b30f3b178595cbad0c851a94300fd88afdf2 (diff)
SL-15999 - noninteractive: debugging run issues, suppress AFK/Away pose
Diffstat (limited to 'indra/newview/llagent.cpp')
-rw-r--r--indra/newview/llagent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp
index 389448654a..b35eef20f7 100644
--- a/indra/newview/llagent.cpp
+++ b/indra/newview/llagent.cpp
@@ -1481,7 +1481,7 @@ void LLAgent::resetControlFlags()
//-----------------------------------------------------------------------------
void LLAgent::setAFK()
{
- if (!gAgent.getRegion())
+ if (gNonInteractive || !gAgent.getRegion())
{
// Don't set AFK if we're not talking to a region yet.
return;