Fix switch overlay text order

This commit is contained in:
KebsCS 2024-10-02 17:25:14 +02:00
parent 000718eca7
commit 21d378e4cb
No known key found for this signature in database
GPG key ID: 5A8C0761A75E7309

View file

@ -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);
} }
} }