From c7bc9edf299b5f7f36325de8a5fecb0dfd9b41da Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 27 Jun 2011 02:10:35 +0000 Subject: [PATCH] another attempt at fixing solid water in the dedicated server git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11221 d7cf8633-e32d-0410-b094-e92efae38249 --- model_brush.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/model_brush.c b/model_brush.c index 0eee9e31..c0e53d33 100644 --- a/model_brush.c +++ b/model_brush.c @@ -1828,10 +1828,7 @@ static void Mod_Q1BSP_LoadTextures(lump_t *l) { // LordHavoc: some turbulent textures should not be affected by wateralpha if (!strncmp(tx->name, "*glassmirror", 12)) // Tenebrae - { - // replace the texture with transparent black tx->basematerialflags |= MATERIALFLAG_NOSHADOW | MATERIALFLAG_ADD | MATERIALFLAG_BLENDED | MATERIALFLAG_REFLECTION; - } else if (!strncmp(tx->name,"*lava",5) || !strncmp(tx->name,"*teleport",9) || !strncmp(tx->name,"*rift",5)) // Scourge of Armagon texture @@ -1856,6 +1853,7 @@ static void Mod_Q1BSP_LoadTextures(lump_t *l) // start out with no animation tx->currentframe = tx; tx->currentskinframe = tx->skinframes[0]; + tx->currentmaterialflags = tx->basematerialflags; } // sequence the animations -- 2.39.2