mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
...Welp, I mixed up my commit names :V
THIS commit's the MT_FIREDITEM fix, the LAST commit was me making sure the size of translationtablecache was correct.
This commit is contained in:
parent
a9342fe0fd
commit
b09c83e35f
1 changed files with 15 additions and 14 deletions
|
|
@ -7210,6 +7210,7 @@ void P_MobjThinker(mobj_t *mobj)
|
|||
}
|
||||
break;
|
||||
case MT_FIREDITEM:
|
||||
if (mobj->target && !P_MobjWasRemoved(mobj->target))
|
||||
{
|
||||
fixed_t x, y, z;
|
||||
if (mobj->movecount)
|
||||
|
|
@ -7225,8 +7226,8 @@ void P_MobjThinker(mobj_t *mobj)
|
|||
z = mobj->target->z + 80*(mapheaderinfo[gamemap-1]->mobj_scale);
|
||||
}
|
||||
P_TeleportMove(mobj, x, y, z);
|
||||
break;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
if (mobj->fuse)
|
||||
{ // Scenery object fuse! Very basic!
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue