mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-10 19:01:50 +00:00
MT_PETSMOKER uses args
This commit is contained in:
parent
7cee4ff32a
commit
688b4fb9a9
2 changed files with 4 additions and 1 deletions
|
|
@ -6345,7 +6345,7 @@ static void P_MobjSceneryThink(mobj_t *mobj)
|
||||||
if (!(leveltime % 10))
|
if (!(leveltime % 10))
|
||||||
{
|
{
|
||||||
mobj_t *smok = P_SpawnMobj(mobj->x, mobj->y, mobj->z, MT_PETSMOKE);
|
mobj_t *smok = P_SpawnMobj(mobj->x, mobj->y, mobj->z, MT_PETSMOKE);
|
||||||
if (mobj->spawnpoint && mobj->spawnpoint->options & MTF_OBJECTSPECIAL)
|
if (mobj->spawnpoint && mobj->spawnpoint->args[0])
|
||||||
P_SetMobjStateNF(smok, smok->info->painstate); // same function, diff sprite
|
P_SetMobjStateNF(smok, smok->info->painstate); // same function, diff sprite
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
|
|
@ -6586,6 +6586,9 @@ static void P_ConvertBinaryThingTypes(void)
|
||||||
else if (mapthings[i].options & MTF_EXTRA)
|
else if (mapthings[i].options & MTF_EXTRA)
|
||||||
mapthings[i].args[0] = TMMA_FLIP;
|
mapthings[i].args[0] = TMMA_FLIP;
|
||||||
break;
|
break;
|
||||||
|
case 2018: // MT_PETSMOKER
|
||||||
|
mapthings[i].args[0] = !!(mapthings[i].options & MTF_OBJECTSPECIAL);
|
||||||
|
break;
|
||||||
case FLOOR_SLOPE_THING:
|
case FLOOR_SLOPE_THING:
|
||||||
case CEILING_SLOPE_THING:
|
case CEILING_SLOPE_THING:
|
||||||
Tag_FSet(&mapthings[i].tags, mapthings[i].extrainfo);
|
Tag_FSet(&mapthings[i].tags, mapthings[i].extrainfo);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue