From e9770bcf8770536d5630c62aa123857a5b7c2fd5 Mon Sep 17 00:00:00 2001 From: Ashnal Date: Sun, 1 Jun 2025 18:01:42 -0400 Subject: [PATCH] Bail charge add ghost mobj and scale bump --- src/objects/bail.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/objects/bail.c b/src/objects/bail.c index f68d7ef5f..197f7cb6c 100644 --- a/src/objects/bail.c +++ b/src/objects/bail.c @@ -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; } } \ No newline at end of file