Bug fixes

This commit is contained in:
Grinch_ 2022-12-09 01:47:05 +06:00
parent 87b63204e2
commit 62b5c561a8
2 changed files with 2 additions and 2 deletions

View File

@ -376,7 +376,7 @@ void GamePage::Draw()
ImGui::Spacing();
ImGui::BeginChild("##Menus");
#ifdef GTASA
if (ImGui::CollapsingHeader(TEXT("Game.CameraZoom")))
if (ImGui::CollapsingHeader((TEXT_S("Game.CameraZoom") + "##HEADER").c_str()))
{
ImGui::Spacing();
if (Freecam.GetState())

View File

@ -244,7 +244,7 @@ void PedPage::SpawnPed(std::string& cat, std::string& name, std::string& model)
Command<Commands::MARK_MODEL_AS_NO_LONGER_NEEDED>(model);
#ifdef GTA3
Command<Commands::SET_CURRENT_PLAYER_WEAPON>(0, weaponType);
Command<Commands::SET_CURRENT_PLAYER_WEAPON>(0, m_Spawner.m_nWeaponId);
#endif
}
}