Fixed Weapon Hotkeys and introduced Hold For Boost to Boost. (#1692)

* Fixed #1690.

* Added Hold For Boost to Boost Behavior.

* Added Teleport into Personal Vehicle and Toggle Vehicle Fly Mode as hotkeys.

* Fixed pvtp command not working if you were inside a building.
This commit is contained in:
gir489
2023-07-12 12:55:53 -04:00
committed by GitHub
parent 400556c63a
commit c570df8e48
8 changed files with 34 additions and 15 deletions

View File

@ -175,10 +175,10 @@ namespace big
}
ImGui::Separator();
const char* boost_behaviors[] = {"DEFAULT"_T.data(), "INSTANT_REFILL"_T.data(), "INFINITE"_T.data()};
const char* boost_behaviors[] = {"DEFAULT"_T.data(), "INSTANT_REFILL"_T.data(), "INFINITE"_T.data(), "HOLD_FOR_BOOST"_T.data()};
if (ImGui::BeginCombo("BOOST_BEHAVIOR"_T.data(), boost_behaviors[static_cast<int>(g.vehicle.boost_behavior)]))
{
for (int i = 0; i < 3; i++)
for (int i = 0; i < 4; i++)
{
bool itemSelected = g.vehicle.boost_behavior == static_cast<eBoostBehaviors>(i);