Remove unnecessary indentation/scope

This commit is contained in:
Robert Müller 2022-08-13 19:02:55 +02:00
parent 4cdd36aed3
commit ad8f49fe79

View file

@ -3331,7 +3331,6 @@ void CEditor::RenderLayers(CUIRect ToolBox, CUIRect View)
float LayerCur = 0;
// render layers
{
for(int g = 0; g < (int)m_Map.m_vpGroups.size(); g++)
{
if(LayerCur > LayerStopAt)
@ -3518,7 +3517,6 @@ void CEditor::RenderLayers(CUIRect ToolBox, CUIRect View)
LayersBox.HSplitTop(5.0f, &Slot, &LayersBox);
LayerCur += 5.0f;
}
}
if(Input()->KeyPress(KEY_DOWN) && m_Dialog == DIALOG_NONE && m_EditBoxActive == 0)
{