clamp speedup arrows images

This commit is contained in:
Jupeyy 2017-10-10 12:08:36 +02:00
parent 5c25a7415d
commit 966b388b0e

View file

@ -1586,9 +1586,12 @@ void CMapLayers::OnRender()
else
{
Graphics()->BlendNormal();
// draw arrow
// draw arrow -- clamp to the edge of the arrow image
Graphics()->WrapClamp();
Graphics()->TextureSet(g_pData->m_aImages[IMAGE_SPEEDUP_ARROW].m_Id);
RenderTileLayer(TileLayerCounter-3, &Color, pTMap, pGroup);
RenderTileLayer(TileLayerCounter-3, &Color, pTMap, pGroup);
Graphics()->WrapNormal();
if(g_Config.m_ClTextEntities)
{
Graphics()->TextureSet(m_pImages->GetOverlayBottom());