mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2024-12-23 04:27:25 +08:00
Input sanitation for Debug Locals (#2505)
This commit is contained in:
parent
bbafe0f0d0
commit
2a0fb30ced
@ -229,8 +229,12 @@ namespace big
|
||||
|
||||
ImGui::PushItemWidth(200.f);
|
||||
|
||||
if (ImGui::InputScalar("VIEW_DEBUG_LOCALS_LOCAL"_T.data(), ImGuiDataType_U16, &local_test.local_index))
|
||||
ImGui::InputScalar("VIEW_DEBUG_LOCALS_LOCAL"_T.data(), ImGuiDataType_U16, &local_test.local_index);
|
||||
|
||||
if (local_thread)
|
||||
local_laddie = script_local(local_thread, local_test.local_index);
|
||||
else
|
||||
local_laddie = script_local(local_test.local_index);
|
||||
|
||||
for (int i = 0; i < local_test.local_appendages.size(); i++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user