summaryrefslogtreecommitdiff
path: root/indra/newview/rlvhandler.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2025-06-30 14:20:07 +0800
committerErik Kundiman <erik@megapahit.org>2025-06-30 14:32:43 +0800
commitd6e7979612be80b24441fa84678adb476fda8405 (patch)
treef795d5da3e66f179c818f4fece3a559184ccd6b2 /indra/newview/rlvhandler.cpp
parent6ad39e2c3b3df0ebc54f1056f4659b1a51b62f1e (diff)
Minimal @sitground=force command implementation
Untested cause I couldn't find any force ground sit command on the attachment I got access to.
Diffstat (limited to 'indra/newview/rlvhandler.cpp')
-rw-r--r--indra/newview/rlvhandler.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/rlvhandler.cpp b/indra/newview/rlvhandler.cpp
index 869ada40ab..49b89c8cdf 100644
--- a/indra/newview/rlvhandler.cpp
+++ b/indra/newview/rlvhandler.cpp
@@ -241,6 +241,13 @@ ECmdRet ForceHandler<EBehaviour::Sit>::onCommand(const RlvCommand& rlvCmd)
}
template<> template<>
+ECmdRet ForceHandler<EBehaviour::SitGround>::onCommand(const RlvCommand& rlvCmd)
+{
+ gAgent.sitDown();
+ return ECmdRet::Succeeded;
+}
+
+template<> template<>
ECmdRet ForceHandler<EBehaviour::Unsit>::onCommand(const RlvCommand& rlvCmd)
{
gAgent.standUp();