mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Hack to fix drift spark explosion while keeping its interpolation
This commit is contained in:
parent
b9cc482c53
commit
74bac4028b
1 changed files with 3 additions and 0 deletions
|
|
@ -6815,12 +6815,15 @@ static boolean P_MobjRegularThink(mobj_t *mobj)
|
||||||
if (( mobj->fuse & 1 ))
|
if (( mobj->fuse & 1 ))
|
||||||
{
|
{
|
||||||
nudge = 4*mobj->target->radius;
|
nudge = 4*mobj->target->radius;
|
||||||
|
/* unrotate interp angle */
|
||||||
|
mobj->old_angle -= ANGLE_90;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
nudge = 2*mobj->target->radius;
|
nudge = 2*mobj->target->radius;
|
||||||
/* rotate the papersprite frames to see the flat angle */
|
/* rotate the papersprite frames to see the flat angle */
|
||||||
mobj->angle += ANGLE_90;
|
mobj->angle += ANGLE_90;
|
||||||
|
mobj->old_angle += ANGLE_90;
|
||||||
}
|
}
|
||||||
|
|
||||||
P_MoveOrigin(mobj,
|
P_MoveOrigin(mobj,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue