Fix wanted level ui bug
This commit is contained in:
parent
d94a877256
commit
87d8b843c6
6
.gitignore
vendored
6
.gitignore
vendored
@ -1,5 +1,7 @@
|
|||||||
.vs/
|
.vs/
|
||||||
tools/.vs/
|
tools/.vs/
|
||||||
|
tools/build/
|
||||||
|
tools/obj/
|
||||||
.vs/CheatMenu/v16/.suo
|
.vs/CheatMenu/v16/.suo
|
||||||
.vs/CheatMenu/v16/Browse.VC.db
|
.vs/CheatMenu/v16/Browse.VC.db
|
||||||
.vs/CheatMenu/v16/Solution.VC.db
|
.vs/CheatMenu/v16/Solution.VC.db
|
||||||
@ -28,3 +30,7 @@ tools/.vs/
|
|||||||
tools/.vs/CheatMenu/v16/.suo
|
tools/.vs/CheatMenu/v16/.suo
|
||||||
tools/.vs/CheatMenu/v16/Browse.VC.db
|
tools/.vs/CheatMenu/v16/Browse.VC.db
|
||||||
tools/.vs/CheatMenu/v16/Solution.VC.db
|
tools/.vs/CheatMenu/v16/Solution.VC.db
|
||||||
|
tools/CheatMenu.sln
|
||||||
|
tools/Depend.vcxproj
|
||||||
|
tools/CheatMenu.vcxproj
|
||||||
|
tools/Depend.vcxproj.filters
|
||||||
|
@ -331,6 +331,7 @@ void Player::Draw()
|
|||||||
{
|
{
|
||||||
int val = pPlayer->m_pPlayerData->m_pWanted->m_nWantedLevel;
|
int val = pPlayer->m_pPlayerData->m_pWanted->m_nWantedLevel;
|
||||||
int max_wl = pPlayer->m_pPlayerData->m_pWanted->MaximumWantedLevel;
|
int max_wl = pPlayer->m_pPlayerData->m_pWanted->MaximumWantedLevel;
|
||||||
|
max_wl = max_wl < 6 ? 6 : max_wl;
|
||||||
|
|
||||||
ImGui::Columns(3, 0, false);
|
ImGui::Columns(3, 0, false);
|
||||||
ImGui::Text("Min: 0");
|
ImGui::Text("Min: 0");
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@echo off
|
@echo off
|
||||||
premake5.exe vs2019
|
premake5.exe vs2019
|
||||||
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\Tools\Common7\Tools\VsDevCmd.bat"
|
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\Tools\VsDevCmd.bat"
|
||||||
MsBuild CheatMenu.sln /property:Configuration=Release
|
MsBuild CheatMenu.sln /property:Configuration=Release
|
||||||
|
@ -24,9 +24,6 @@ workspace "CheatMenu"
|
|||||||
cppdialect "C++20"
|
cppdialect "C++20"
|
||||||
characterset "MBCS"
|
characterset "MBCS"
|
||||||
staticruntime "On"
|
staticruntime "On"
|
||||||
flags {
|
|
||||||
"LinkTimeOptimization"
|
|
||||||
}
|
|
||||||
|
|
||||||
project "Depend"
|
project "Depend"
|
||||||
kind "StaticLib"
|
kind "StaticLib"
|
||||||
@ -92,7 +89,7 @@ project "CheatMenu"
|
|||||||
}
|
}
|
||||||
|
|
||||||
filter "configurations:Release"
|
filter "configurations:Release"
|
||||||
-- optimize "On"
|
optimize "On"
|
||||||
links {
|
links {
|
||||||
"Depend",
|
"Depend",
|
||||||
"d3d9",
|
"d3d9",
|
||||||
|
Loading…
Reference in New Issue
Block a user