fix(Hotkey): Fast run and Freecam not working (#1242)

* fix(noclip): not working properly in single player

Fixes #1178
This commit is contained in:
Andreas Maerten
2023-04-15 22:34:39 +02:00
committed by GitHub
parent 080ffeb647
commit 8a9c6a22c0
4 changed files with 22 additions and 17 deletions

View File

@ -30,11 +30,11 @@ namespace big
g_hotkey_service->update_hotkey("skipcutscene", g.settings.hotkeys.skip_cutscene);
if (ImGui::Hotkey("Toggle Freecam", &g.settings.hotkeys.freecam))
g_hotkey_service->update_hotkey("freecam", g.settings.hotkeys.freecam);
if (ImGui::Hotkey("Toggle fastrun", &g.settings.hotkeys.superrun))
if (ImGui::Hotkey("Toggle Fastrun", &g.settings.hotkeys.superrun))
g_hotkey_service->update_hotkey("fastrun", g.settings.hotkeys.superrun);
if (ImGui::Hotkey("Toggle superjump", &g.settings.hotkeys.superjump))
if (ImGui::Hotkey("Toggle Superjump", &g.settings.hotkeys.superjump))
g_hotkey_service->update_hotkey("superjump", g.settings.hotkeys.superjump);
if (ImGui::Hotkey("Toggle beastjump", &g.settings.hotkeys.beastjump))
if (ImGui::Hotkey("Toggle Beastjump", &g.settings.hotkeys.beastjump))
g_hotkey_service->update_hotkey("beastjump", g.settings.hotkeys.beastjump);
if (ImGui::Hotkey("Toggle Vehicle Invisibility", &g.settings.hotkeys.invisveh))
g_hotkey_service->update_hotkey("invisveh", g.settings.hotkeys.invisveh);