diff --git a/ref/gl/gl_decals.c b/ref/gl/gl_decals.c index deaae786..79a84557 100644 --- a/ref/gl/gl_decals.c +++ b/ref/gl/gl_decals.c @@ -1217,7 +1217,7 @@ void R_DecalRemoveAll( int textureIndex ) pdecal = &gDecalPool[i]; // don't remove permanent decals - if( !textureIndex && FBitSet( pdecal->flags, FDECAL_PERMANENT )) + if( FBitSet( pdecal->flags, FDECAL_PERMANENT )) continue; if( !textureIndex || ( pdecal->texture == textureIndex )) diff --git a/ref/soft/r_decals.c b/ref/soft/r_decals.c index 7877a153..8ae13327 100644 --- a/ref/soft/r_decals.c +++ b/ref/soft/r_decals.c @@ -1028,7 +1028,7 @@ void GAME_EXPORT R_DecalRemoveAll( int textureIndex ) pdecal = &gDecalPool[i]; // don't remove permanent decals - if( !textureIndex && FBitSet( pdecal->flags, FDECAL_PERMANENT )) + if( FBitSet( pdecal->flags, FDECAL_PERMANENT )) continue; if( !textureIndex || ( pdecal->texture == textureIndex ))