X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=model_sprite.c;h=a08cb8c36cffc9553185f79ce85470b15d27e178;hb=34d9f62cf707eb7d02f463cb919799291e114698;hp=d944da3f273070a8f5f6b0ea95e09c21f909cb88;hpb=1fd37f5239fe019e4d53c3e19b6fa9ff67da12e1;p=xonotic%2Fdarkplaces.git diff --git a/model_sprite.c b/model_sprite.c index d944da3f..a08cb8c3 100644 --- a/model_sprite.c +++ b/model_sprite.c @@ -52,7 +52,7 @@ static void Mod_SpriteSetupTexture(texture_t *texture, skinframe_t *skinframe, q texture->basematerialflags |= MATERIALFLAG_FULLBRIGHT; if (additive) texture->basematerialflags |= MATERIALFLAG_ADD | MATERIALFLAG_BLENDED | MATERIALFLAG_NOSHADOW; - else if (skinframe->fog) + else if (skinframe->hasalpha) texture->basematerialflags |= MATERIALFLAG_ALPHA | MATERIALFLAG_BLENDED | MATERIALFLAG_NOSHADOW; texture->currentmaterialflags = texture->basematerialflags; texture->numskinframes = 1;