From 3e387634c891a8b76ec8a145e8a60910e7fc3495 Mon Sep 17 00:00:00 2001 From: BeaR Date: Fri, 17 Aug 2012 10:44:51 +0200 Subject: [PATCH] Set value higher --- src/game/client/render_map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/client/render_map.cpp b/src/game/client/render_map.cpp index 3b409fb89..a854b4a7b 100644 --- a/src/game/client/render_map.cpp +++ b/src/game/client/render_map.cpp @@ -237,7 +237,7 @@ void CRenderTools::RenderTilemap(CTile *pTiles, int w, int h, float Scale, vec4 unsigned char Flags = pTiles[c].m_Flags; bool Render = false; - if(Flags&TILEFLAG_OPAQUE && Color.a*a > 250/255.0f) + if(Flags&TILEFLAG_OPAQUE && Color.a*a > 254.0f/255.0f) { if(RenderFlags&LAYERRENDERFLAG_OPAQUE) Render = true;