diff --git a/src/Game.cpp b/src/Game.cpp index 4249337..63373cf 100644 --- a/src/Game.cpp +++ b/src/Game.cpp @@ -387,11 +387,25 @@ of LS without completing missions")) Ui::CheckboxAddress("Free pay n spray", 0x96C009); - if (ImGui::Checkbox("Freeze misson timer", &m_bMissionTimer)) - Command(m_bMissionTimer); + if (ImGui::Checkbox("Freeze game time", &m_bFreezeTime)) + { + if (m_bFreezeTime) + { + patch::SetRaw(0x52CF10, (char*)"\xEB\xEF", 2); + } + else + { + patch::SetRaw(0x52CF10, (char*)"\x56\x8B", 2); + } + } ImGui::NextColumn(); + if (ImGui::Checkbox("Freeze misson timer", &m_bMissionTimer)) + { + Command(m_bMissionTimer); + } + if (Ui::CheckboxWithHint("Hard mode", &m_HardMode::m_bEnabled, "Makes the game more challanging to play. \n\ Lowers armour, health, stamina etc.")) { diff --git a/src/MenuInfo.h b/src/MenuInfo.h index 1762363..847a57c 100644 --- a/src/MenuInfo.h +++ b/src/MenuInfo.h @@ -2,5 +2,5 @@ #define MENU_NAME "Cheat Menu" #define MENU_VERSION_NUMBER "2.8" #define MENU_VERSION MENU_VERSION_NUMBER"-beta" -#define BUILD_NUMBER "20210727" +#define BUILD_NUMBER "20210801" #define MENU_TITLE MENU_NAME " v" MENU_VERSION "(" BUILD_NUMBER ")"