Input sanitation for Debug Locals (#2505)
This commit is contained in:
parent
1869389606
commit
3b9413db92
@ -229,8 +229,12 @@ namespace big
|
|||||||
|
|
||||||
ImGui::PushItemWidth(200.f);
|
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);
|
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++)
|
for (int i = 0; i < local_test.local_appendages.size(); i++)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user