Added check for IS_VEHICLE_DOOR_DAMAGED in keep_vehicle_repaired. (#1933)

Fixed Selected Teleport not showing up in hotkeys menu.
Added Yim's Vehicle cleanup code from the halted PR.
This commit is contained in:
gir489
2023-08-07 04:16:08 -04:00
committed by GitHub
parent 32472ff524
commit e87931bf60
8 changed files with 32 additions and 11 deletions

View File

@ -11,10 +11,12 @@ namespace big
if (ImGui::Hotkey("Menu Toggle", &g.settings.hotkeys.menu_toggle))
g.settings.hotkeys.editing_menu_toggle = true; // make our menu reappear
if (ImGui::Hotkey("Teleport to waypoint", &g.settings.hotkeys.teleport_waypoint))
if (ImGui::Hotkey("Teleport to Waypoint", &g.settings.hotkeys.teleport_waypoint))
g_hotkey_service->update_hotkey("waypoint", g.settings.hotkeys.teleport_waypoint);
if (ImGui::Hotkey("Teleport to objective", &g.settings.hotkeys.teleport_objective))
if (ImGui::Hotkey("Teleport to Objective", &g.settings.hotkeys.teleport_objective))
g_hotkey_service->update_hotkey("objective", g.settings.hotkeys.teleport_objective);
if (ImGui::Hotkey("Teleport to Selected", &g.settings.hotkeys.teleport_selected))
g_hotkey_service->update_hotkey("highlighttp", g.settings.hotkeys.teleport_selected);
if (ImGui::Hotkey("Teleport into PV", &g.settings.hotkeys.teleport_pv))
g_hotkey_service->update_hotkey("pvtp", g.settings.hotkeys.teleport_pv);