mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Recast: fix bug in tile side debug slider
Range 0-7 are 8 sides. -1 is none. The clamp had 1 extra.
This commit is contained in:
parent
7c71e1d147
commit
1f4e7cc080
@ -187,7 +187,7 @@ public:
|
||||
char* pEnd = nullptr;
|
||||
m_markedPolyRef = (dtPolyRef)STR_TO_ID(m_polyRefTextInput, &pEnd, 10);
|
||||
}
|
||||
ImGui::SliderInt("Tile Side", &m_selectedSide, -1, 8, "%d", ImGuiSliderFlags_NoInput);
|
||||
ImGui::SliderInt("Tile Side", &m_selectedSide, -1, 7, "%d", ImGuiSliderFlags_NoInput);
|
||||
ImGui::PopItemWidth();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user