mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Set instawhip recharge's height offset from the start
This commit is contained in:
parent
636d7bb3ca
commit
a9408fd62d
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ void Obj_InstaWhipThink (mobj_t *whip)
|
||||||
|
|
||||||
void Obj_SpawnInstaWhipRecharge(player_t *player, angle_t angleOffset)
|
void Obj_SpawnInstaWhipRecharge(player_t *player, angle_t angleOffset)
|
||||||
{
|
{
|
||||||
mobj_t *x = P_SpawnMobjFromMobj(player->mo, 0, 0, 0, MT_INSTAWHIP_RECHARGE);
|
mobj_t *x = P_SpawnMobjFromMobj(player->mo, 0, 0, player->mo->height / 2, MT_INSTAWHIP_RECHARGE);
|
||||||
|
|
||||||
// This was previously used to delay the visual, back when this was VFX for a cooldown
|
// This was previously used to delay the visual, back when this was VFX for a cooldown
|
||||||
// instead of VFX for a charge. We want to instantly bail out of that state now.
|
// instead of VFX for a charge. We want to instantly bail out of that state now.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue