- Duke: Fix issue stemming from - handle all remaining set_int_xvel and set_int_zvel..

* Fixes the Liztrooper sprite angle issues.
This commit is contained in:
Mitchell Richters 2022-10-03 23:07:11 +11:00 committed by Christoph Oelckers
parent 13dd7260f5
commit bbdb953eda

View file

@ -1384,7 +1384,7 @@ void checkhitsprite_d(DDukeActor* targ, DDukeActor* proj)
if (targ->spr.picnum != TANK && !bossguy(targ) && targ->spr.picnum != RECON && targ->spr.picnum != ROTATEGUN)
{
if ((targ->spr.cstat & CSTAT_SPRITE_ALIGNMENT_MASK) == 0)
targ->spr.angle = proj->spr.angle + DAngle90;
targ->spr.angle = proj->spr.angle + DAngle180;
targ->vel.X = -proj->spr.extra * 0.25;
auto sp = targ->sector();