mirror of
https://github.com/ddnet/ddnet.git
synced 2024-10-19 07:18:19 +00:00
Merge pull request #9093 from KebsCS/pr-fix-switch-overlay-text
Fix switch overlay text order
This commit is contained in:
commit
46630debf7
|
@ -1750,9 +1750,9 @@ void CMapLayers::OnRender()
|
||||||
RenderTileLayer(TileLayerCounter - 3, Color, pTMap, pGroup);
|
RenderTileLayer(TileLayerCounter - 3, Color, pTMap, pGroup);
|
||||||
if(g_Config.m_ClTextEntities)
|
if(g_Config.m_ClTextEntities)
|
||||||
{
|
{
|
||||||
Graphics()->TextureSet(m_pImages->GetOverlayBottom());
|
|
||||||
RenderTileLayer(TileLayerCounter - 2, Color, pTMap, pGroup);
|
|
||||||
Graphics()->TextureSet(m_pImages->GetOverlayTop());
|
Graphics()->TextureSet(m_pImages->GetOverlayTop());
|
||||||
|
RenderTileLayer(TileLayerCounter - 2, Color, pTMap, pGroup);
|
||||||
|
Graphics()->TextureSet(m_pImages->GetOverlayBottom());
|
||||||
RenderTileLayer(TileLayerCounter - 1, Color, pTMap, pGroup);
|
RenderTileLayer(TileLayerCounter - 1, Color, pTMap, pGroup);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue