Merge pull request #22 from GibsonHF/master

Couple of fixes
This commit is contained in:
Yimura 2021-12-27 10:28:46 +01:00 committed by GitHub
commit 7d731476d4
2 changed files with 4 additions and 2 deletions

View File

@ -33,6 +33,8 @@ namespace big
ImGui::Checkbox("No Ragdoll", &g.self.no_ragdoll); ImGui::Checkbox("No Ragdoll", &g.self.no_ragdoll);
ImGui::SameLine(); ImGui::SameLine();
ImGui::Checkbox("Super Run", &g.self.super_run); ImGui::Checkbox("Super Run", &g.self.super_run);
ImGui::TreePop();
} }
if (ImGui::TreeNode("Frame Flags")) if (ImGui::TreeNode("Frame Flags"))

View File

@ -14,7 +14,7 @@ namespace big
if (g_local_player == nullptr || g_local_player->m_vehicle == nullptr || g_local_player->m_ped_task_flag & (int)ePedTask::TASK_FOOT) if (g_local_player == nullptr || g_local_player->m_vehicle == nullptr || g_local_player->m_ped_task_flag & (int)ePedTask::TASK_FOOT)
{ {
ImGui::Text("Please enter a vehicle."); ImGui::Text("Please enter a vehicle.");
ImGui::End();
return; return;
} }
g_vehicle_service->attempt_save(); g_vehicle_service->attempt_save();