mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Bail charge add ghost mobj
and scale bump
This commit is contained in:
parent
d0225afacb
commit
e9770bcf87
1 changed files with 5 additions and 1 deletions
|
|
@ -70,8 +70,12 @@ void Obj_BailChargeThink (mobj_t *aura)
|
|||
aura->anim_duration = 999; // This prevents FF_ANIMATE from working, we're gonna animate manually ourselves here
|
||||
aura->frame = ((player->bailcharge-1)/2); // By syncing the frame with the charge timer here
|
||||
|
||||
fixed_t baseScale = 12*mo->scale/10;
|
||||
fixed_t baseScale = 13*mo->scale/10;
|
||||
|
||||
P_SetScale(aura, baseScale);
|
||||
|
||||
mobj_t *ghost = P_SpawnGhostMobj(aura);
|
||||
ghost->renderflags = (ghost->renderflags & ~RF_TRANSMASK)|RF_ADD;
|
||||
ghost->fuse = 3;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue