diff Render.cpp @ 1301:18665b8f66b2

yellow points remove
author Ritor1
date Mon, 24 Jun 2013 13:47:13 +0600
parents 5450af4f57ef
children 9749edd941c6
line wrap: on
line diff
--- a/Render.cpp	Thu Jun 20 15:24:09 2013 +0600
+++ b/Render.cpp	Mon Jun 24 13:47:13 2013 +0600
@@ -1830,7 +1830,8 @@
             else
             {
               v6 = v8->uTileBitmapID;
-              transparent = true;
+              if ( !_strnicmp(pBitmaps_LOD->pTextures[v8->uTileBitmapID].pName, "wtrdr", 5) )
+                transparent = true;
             }
 
       assert(v6 < 1000); // many random crashes here