diff options
| author | Erik Kundiman <erik@megapahit.org> | 2025-06-30 18:09:32 +0800 |
|---|---|---|
| committer | Erik Kundiman <erik@megapahit.org> | 2025-06-30 18:09:32 +0800 |
| commit | d0e3c7a40395ea5ad7f7a9982ce4dbf464e24caa (patch) | |
| tree | 92902324d9a26aeec801e55e9f65573024593569 /indra/newview/llagent.h | |
| parent | d6e7979612be80b24441fa84678adb476fda8405 (diff) | |
Minimal @unsit=<y/n> command implementation
Hides the Stand up button too, but doesn't prevent teleporting yet.
Diffstat (limited to 'indra/newview/llagent.h')
| -rw-r--r-- | indra/newview/llagent.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llagent.h b/indra/newview/llagent.h index c1d3c6c14b..74d8719047 100644 --- a/indra/newview/llagent.h +++ b/indra/newview/llagent.h @@ -446,6 +446,10 @@ public: void standUp(); /// @brief ground-sit at agent's current position void sitDown(); + bool isAllowedToStand() const { return mAllowedToStand; } + void setAllowedToStand(bool allow) { mAllowedToStand = allow; } +private: + bool mAllowedToStand; //-------------------------------------------------------------------- // Do Not Disturb |
