From 540faa2f9875db76f4355f86cc7fe17cb75f0919 Mon Sep 17 00:00:00 2001 From: stujones11 Date: Thu, 16 May 2019 21:41:55 +0100 Subject: [PATCH] Fix minimap radar mode flickering --- src/minimap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/minimap.cpp b/src/minimap.cpp index 8bf644830..f274439d9 100644 --- a/src/minimap.cpp +++ b/src/minimap.cpp @@ -501,7 +501,7 @@ void Minimap::drawMinimap() material.setFlag(video::EMF_TRILINEAR_FILTER, true); material.Lighting = false; material.TextureLayer[0].Texture = minimap_texture; - material.TextureLayer[1].Texture = data->heightmap_texture; + material.TextureLayer[1].Texture = data->is_radar ? 0 : data->heightmap_texture; if (m_enable_shaders && !data->is_radar) { u16 sid = m_shdrsrc->getShader("minimap_shader", 1, 1);