Fix marble face textures in D2INO not being graffiti-able.

This commit is contained in:
Mari the Deer 2021-06-25 17:48:50 +02:00
commit 092f9cfd7f
2 changed files with 7 additions and 6 deletions

View file

@ -1,3 +1,3 @@
[default]
SWWM_MODVER="\chSWWM \czGZ\c- \cw0.9.11b-pre r556 \cu(Thu 24 Jun 21:53:38 CEST 2021)\c-";
SWWM_SHORTVER="\cw0.9.11b-pre r556 \cu(2021-06-24 21:53:38)\c-";
SWWM_MODVER="\chSWWM \czGZ\c- \cw0.9.11b-pre r557 \cu(Fri 25 Jun 17:48:51 CEST 2021)\c-";
SWWM_SHORTVER="\cw0.9.11b-pre r557 \cu(2021-06-25 17:48:51)\c-";

View file

@ -1859,13 +1859,14 @@ Class SWWMUtility
static bool, TextureID DefaceTexture( TextureID checkme )
{
String tn = TexMan.GetName(checkme);
if ( (tn ~== "MARBFAC2") )
// special case: alt texture names in Doom 2 In Spain Only
if ( (tn ~== "MARBFAC2") || (tn ~== "SP_MAR01") )
return true, TexMan.CheckForTexture("defaced_MARBFAC2",TexMan.Type_Any);
if ( (tn ~== "MARBFAC3") )
if ( (tn ~== "MARBFAC3") || (tn ~== "SP_MAR02"))
return true, TexMan.CheckForTexture("defaced_MARBFAC3",TexMan.Type_Any);
if ( (tn ~== "MARBFAC4") )
if ( (tn ~== "MARBFAC4") || (tn ~== "SP_MAR03") )
return true, TexMan.CheckForTexture("defaced_MARBFAC4",TexMan.Type_Any);
if ( (tn ~== "MARBFACE") )
if ( (tn ~== "MARBFACE") || (tn ~== "SP_MAR04") )
return true, TexMan.CheckForTexture("defaced_MARBFACE",TexMan.Type_Any);
if ( (tn ~== "ZZWOLF2") )
return true, TexMan.CheckForTexture("defaced_ZZWOLF2",TexMan.Type_Any);