- SW: Pitch-adjusted velocity for InitSpellNapalm().

This commit is contained in:
Mitchell Richters 2022-10-11 16:25:16 +11:00 committed by Christoph Oelckers
parent 1d39e1edc1
commit b7a1e699f6

View file

@ -11984,7 +11984,7 @@ void InitSpellNapalm(PLAYER* pp)
actor->spr.shade = -40;
actor->spr.scale = DVector2(0.5, 0.5);
actor->clipdist = 0;
actor->vel.Z = pp->horizon.horiz.Tan() * HORIZ_MULTF;
setFreeAimVelocity(actor->vel.X, actor->vel.Z, pp->horizon.horiz, HORIZ_MULTF);
actor->spr.cstat |= (CSTAT_SPRITE_TRANSLUCENT | CSTAT_SPRITE_YCENTER);
actor->spr.cstat &= ~(CSTAT_SPRITE_BLOCK | CSTAT_SPRITE_BLOCK_HITSCAN);
actor->user.Flags2 |= (SPR2_BLUR_TAPER_FAST);