Invert binary conversion code for spikes

This has been the cause of the most annoying long standing bug to date. Who knew this got inverted in 2.2
This commit is contained in:
NepDisk 2025-05-24 18:34:07 -04:00
parent 9a21eaee0b
commit d95b9210e9

View file

@ -7272,7 +7272,7 @@ static void P_ConvertBinaryThingTypes(void)
if (mapthings[i].options & MTF_EXTRA)
mapthings[i].args[2] |= TMSF_RETRACTED;
}
if (mapthings[i].options & MTF_AMBUSH)
if (!(mapthings[i].options & MTF_AMBUSH))
mapthings[i].args[2] |= TMSF_INTANGIBLE;
break;
case 523: //Spike
@ -7283,7 +7283,7 @@ static void P_ConvertBinaryThingTypes(void)
if (mapthings[i].options & MTF_EXTRA)
mapthings[i].args[2] |= TMSF_RETRACTED;
}
if (mapthings[i].options & MTF_AMBUSH)
if (!(mapthings[i].options & MTF_AMBUSH))
mapthings[i].args[2] |= TMSF_INTANGIBLE;
break;
case 540: //Fan