X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=model_sprite.c;h=33117f6803a15fc13c5645c3155c8754a90af84b;hb=6071e481cc5b26e41e8c9bdd4d974ea1ce434036;hp=e24c8421ce84eae2e99afcb78eb6735ed2c698c7;hpb=41c22621e519289e681fb41ffeb38d2ac2810ff0;p=xonotic%2Fdarkplaces.git 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)