From 157c3faf9c34d5baf6ffb94d27d2b50fc1266c50 Mon Sep 17 00:00:00 2001 From: divverent Date: Sat, 17 Jan 2015 17:37:53 +0000 Subject: [PATCH] Set basealpha on sprites too. Makes them visible again :) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12135 d7cf8633-e32d-0410-b094-e92efae38249 --- model_sprite.c | 1 + 1 file changed, 1 insertion(+) diff --git a/model_sprite.c b/model_sprite.c index e24c8421..33117f68 100644 --- a/model_sprite.c +++ b/model_sprite.c @@ -67,6 +67,7 @@ static void Mod_SpriteSetupTexture(texture_t *texture, skinframe_t *skinframe, q texture->specularscalemod = 1; texture->specularpowermod = 1; texture->basematerialflags = MATERIALFLAG_WALL; + texture->basealpha = 1.0f; if (fullbright) texture->basematerialflags |= MATERIALFLAG_FULLBRIGHT; if (additive) -- 2.39.2