MT_STEAM's kart behavior uses args

This commit is contained in:
Sally Coolatta 2022-10-10 10:40:06 -04:00
parent 4896a9c843
commit 7cee4ff32a
2 changed files with 2 additions and 1 deletions

View file

@ -500,7 +500,7 @@ static void P_DoFanAndGasJet(mobj_t *spring, mobj_t *object)
if (object->eflags & MFE_SPRUNG)
break;
if (spring->spawnpoint && spring->spawnpoint->options & MTF_OBJECTSPECIAL)
if (spring->spawnpoint && spring->spawnpoint->args[1])
{
if (object->player)
{

View file

@ -6172,6 +6172,7 @@ static void P_ConvertBinaryThingTypes(void)
break;
case 541: //Gas jet
mapthings[i].args[0] = !!(mapthings[i].options & MTF_AMBUSH);
mapthings[i].args[1] = !!(mapthings[i].options & MTF_OBJECTSPECIAL);
break;
case 543: //Balloon
if (mapthings[i].angle > 0)