FIRE-22110: Add /zoffset_reset command line parameter to reset hover height to 0

meow-7.2.2
Ansariel 2019-04-11 23:00:08 +02:00
parent b0a483bea3
commit 310e86f885
1 changed files with 5 additions and 0 deletions

View File

@ -815,6 +815,11 @@ bool cmd_line_chat(const std::string& revised_text, EChatType type, bool from_ge
gSavedPerAccountSettings.setF32("AvatarHoverOffsetZ", gSavedPerAccountSettings.getF32("AvatarHoverOffsetZ") - 0.05f);
return false;
}
else if (command == "/zoffset_reset")
{
gSavedPerAccountSettings.setF32("AvatarHoverOffsetZ", 0.f);
return false;
}
else if (command == sFSCmdLineOfferTp())
{
LLUUID target_key;