diff options
Diffstat (limited to 'indra/newview/llviewerregion.cpp')
| -rw-r--r-- | indra/newview/llviewerregion.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llviewerregion.cpp b/indra/newview/llviewerregion.cpp index 83452e2f12..bdd110c97b 100644 --- a/indra/newview/llviewerregion.cpp +++ b/indra/newview/llviewerregion.cpp @@ -3772,6 +3772,13 @@ bool LLViewerRegion::groupChatPostLinksEnabled() const return ( mSimulatorFeatures.has("GroupChatPostLinksEnabled") && mSimulatorFeatures["GroupChatPostLinksEnabled"].asBoolean()); } + +bool LLViewerRegion::gameControlEnabled() const +{ + return ( mSimulatorFeatures.has("GameControlEnabled") && + mSimulatorFeatures["GameControlEnabled"].asBoolean()); +} + /* Static Functions */ void log_capabilities(const CapabilityMap &capmap) |
