]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_alias.c
don't bother calling Collision_ValidateBrush when creating box brushes
[xonotic/darkplaces.git] / model_alias.c
index d308228846a7275ba5051f062266f160baaad7d9..9ab4295e63a8db269d7b6bcf83a32c888ad1b314 100644 (file)
@@ -934,6 +934,8 @@ static void Mod_BuildAliasSkinFromSkinFrame(texture_t *texture, skinframe_t *ski
        if (texture->currentskinframe->hasalpha)
                texture->basematerialflags |= MATERIALFLAG_ALPHA | MATERIALFLAG_BLENDED | MATERIALFLAG_NOSHADOW;
        texture->currentmaterialflags = texture->basematerialflags;
+       texture->offsetmapping = OFFSETMAPPING_OFF;
+       texture->offsetscale = 1;
        texture->specularscalemod = 1;
        texture->specularpowermod = 1;
        texture->surfaceflags = 0;