From: divverent Date: Sat, 17 Jan 2015 17:37:53 +0000 (+0000) Subject: Set basealpha on sprites too. Makes them visible again :) X-Git-Tag: xonotic-v0.8.1~29^2~25 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=157c3faf9c34d5baf6ffb94d27d2b50fc1266c50;p=xonotic%2Fdarkplaces.git 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 --- 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)