mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
ref: do not remove permanent decals
This commit is contained in:
@@ -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 ))
|
||||
|
||||
@@ -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 ))
|
||||
|
||||
Reference in New Issue
Block a user