From 9c986bef6704ac07112e18dc82b870acf1847e41 Mon Sep 17 00:00:00 2001 From: leviathan Date: Thu, 27 Jun 2024 00:18:42 -0700 Subject: put GameControl behind a feature flag --- indra/newview/llagent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/newview/llagent.cpp') 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; } -- cgit v1.2.3