]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Set basealpha on sprites too. Makes them visible again :)
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 17 Jan 2015 17:37:53 +0000 (17:37 +0000)
committerRudolf Polzer <divVerent@xonotic.org>
Sat, 17 Jan 2015 17:41:25 +0000 (18:41 +0100)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12135 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=157c3faf9c34d5baf6ffb94d27d2b50fc1266c50

model_sprite.c

index e24c8421ce84eae2e99afcb78eb6735ed2c698c7..33117f6803a15fc13c5645c3155c8754a90af84b 100644 (file)
@@ -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)