mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Set instawhip recharge's scale only if it differs from the player's
This commit is contained in:
parent
8326292a3f
commit
636d7bb3ca
1 changed files with 2 additions and 1 deletions
|
|
@ -81,7 +81,8 @@ void Obj_InstaWhipRechargeThink(mobj_t *x)
|
|||
}
|
||||
|
||||
P_MoveOrigin(x, target->x, target->y, target->z + (target->height / 2));
|
||||
P_InstaScale(x, 2 * target->scale);
|
||||
if (x->scale != target->scale * 2)
|
||||
P_InstaScale(x, target->scale * 2);
|
||||
x->angle = target->angle + recharge_offset(x);
|
||||
|
||||
// Flickers every other frame
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue