mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-05 01:38:13 +00:00
Correct hitboxradius value; proper sparkle->z when moving x/y
This commit is contained in:
parent
b17f3e7e40
commit
3170d31708
1 changed files with 2 additions and 2 deletions
|
|
@ -7951,7 +7951,7 @@ void P_MobjThinker(mobj_t *mobj)
|
|||
if (goalpost->x != mobj->x || goalpost->y != mobj->y)
|
||||
{
|
||||
P_TeleportMove(goalpost, mobj->x, mobj->y, goalpost->z);
|
||||
P_TeleportMove(sparkle, mobj->x, mobj->y, goalpost->z);
|
||||
P_TeleportMove(sparkle, mobj->x, mobj->y, sparkle->z);
|
||||
}
|
||||
|
||||
if (droneman->x != mobj->x || droneman->y != mobj->y)
|
||||
|
|
@ -10686,7 +10686,7 @@ ML_EFFECT4 : Don't clip inside the ground
|
|||
boolean bottomoffsetted = !(mthing->options & MTF_OBJECTSPECIAL) && !(mthing->options & MTF_EXTRA);
|
||||
|
||||
INT16 timelimit = mthing->angle & 0xFFF;
|
||||
fixed_t hitboxradius = (mthing->angle & 0xF000) * 32 * FRACUNIT;
|
||||
fixed_t hitboxradius = ((mthing->angle & 0xF000) >> 12) * 32 * FRACUNIT;
|
||||
fixed_t hitboxheight = mthing->extrainfo * 32 * FRACUNIT;
|
||||
fixed_t oldheight = mobj->height;
|
||||
fixed_t dronemanoffset, goaloffset, sparkleoffset, droneboxmandiff, dronemangoaldiff;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue