summaryrefslogtreecommitdiff
path: root/indra/newview/llagent.cpp
diff options
context:
space:
mode:
authorleviathan <leviathan@lindenlab.com>2024-06-27 00:18:42 -0700
committerAndrew Meadows <andrew.l.meadows@gmail.com>2024-10-03 09:03:28 -0700
commit9c986bef6704ac07112e18dc82b870acf1847e41 (patch)
treed24a8ce4b0c63dd2e0304340ec33464ee19dd845 /indra/newview/llagent.cpp
parent2daf175650cdda7cc8f820b6cb17b1475496e7ac (diff)
put GameControl behind a feature flag
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 63c84b91cf..53929051da 100644
--- a/indra/newview/llagent.cpp
+++ b/indra/newview/llagent.cpp
@@ -5000,7 +5000,7 @@ static S32 g_deltaFrame { 0 };
void LLAgent::applyExternalActionFlags()
{
- if (! LLGameControl::willControlAvatar())
+ if (! LLGameControl::isEnabled() || ! LLGameControl::willControlAvatar())
{
return;
}