mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-01 05:20:43 +00:00
- Blood: Fix lost accounting of target sprite angle in actCheckFlares()
.
This commit is contained in:
parent
a8f7b3f6fe
commit
a739928d29
1 changed files with 1 additions and 1 deletions
|
@ -6139,7 +6139,7 @@ void actCheckFlares()
|
|||
if (target->hasX() && target->xspr.health > 0)
|
||||
{
|
||||
DVector3 pos = target->spr.pos;
|
||||
pos.XY() += actor->xspr.goalAng.ToVector() * target->spr.clipdist * 2 * inttoworld;
|
||||
pos.XY() += (actor->xspr.goalAng + target->spr.angle).ToVector() * target->spr.clipdist * 2 * inttoworld;
|
||||
pos.Z += actor->xspr.TargetPos.Z;
|
||||
SetActor(actor, pos);
|
||||
actor->vel = target->vel;
|
||||
|
|
Loading…
Reference in a new issue