mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-22 20:21:20 +00:00
- fixed bad vector addition to incorrect variable.
This commit is contained in:
parent
4328016963
commit
8052bc7e46
4 changed files with 6 additions and 6 deletions
|
@ -96,7 +96,7 @@ void cerberusBurnSeqCallback(int, DBloodActor* actor)
|
|||
if (nDist == 0 || nDist > 0x280)
|
||||
continue;
|
||||
|
||||
pos += actor2->vel * nDist * (65536. / 0x1aaaaa);
|
||||
pos2 += actor->vel * nDist * (65536. / 0x1aaaaa);
|
||||
|
||||
DVector3 tvec = pos;
|
||||
tvec.XY() += actor->spr.Angles.Yaw.ToVector() * nDist;
|
||||
|
@ -161,7 +161,7 @@ void cerberusBurnSeqCallback2(int, DBloodActor* actor)
|
|||
if (nDist == 0 || nDist > 0x280)
|
||||
continue;
|
||||
|
||||
pos += actor2->vel * nDist * (65536. / 0x1aaaaa);
|
||||
pos2 += actor->vel * nDist * (65536. / 0x1aaaaa);
|
||||
|
||||
DVector3 tvec = pos;
|
||||
tvec.XY() += actor->spr.Angles.Yaw.ToVector() * nDist;
|
||||
|
|
|
@ -121,7 +121,7 @@ void BlastSSeqCallback(int, DBloodActor* actor)
|
|||
if (nDist == 0 || nDist > 0x280)
|
||||
continue;
|
||||
|
||||
pos += actor2->vel * nDist * (65536. / 0x1aaaaa);
|
||||
pos2 += actor->vel * nDist * (65536. / 0x1aaaaa);
|
||||
|
||||
DVector3 tvec = pos;
|
||||
tvec.XY() += actor->spr.Angles.Yaw.ToVector() * nDist;
|
||||
|
|
|
@ -108,7 +108,7 @@ void ghostBlastSeqCallback(int, DBloodActor* actor)
|
|||
if (nDist == 0 || nDist > 0x280)
|
||||
continue;
|
||||
|
||||
pos += actor2->vel * nDist * (65536. / 0x1aaaaa);
|
||||
pos2 += actor->vel * nDist * (65536. / 0x1aaaaa);
|
||||
|
||||
DVector3 tvec = pos;
|
||||
tvec.XY() += actor->spr.Angles.Yaw.ToVector() * nDist;
|
||||
|
|
|
@ -79,7 +79,7 @@ void tchernobogBurnSeqCallback(int, DBloodActor* actor)
|
|||
if (nDist == 0 || nDist > 0x280)
|
||||
continue;
|
||||
|
||||
pos += actor2->vel * nDist * (65536. / 0x1aaaaa);
|
||||
pos2 += actor->vel * nDist * (65536. / 0x1aaaaa);
|
||||
|
||||
DVector3 tvec = pos;
|
||||
tvec.XY() += actor->spr.Angles.Yaw.ToVector() * nDist;
|
||||
|
@ -135,7 +135,7 @@ void tchernobogBurnSeqCallback2(int, DBloodActor* actor)
|
|||
if (nDist == 0 || nDist > 0x280)
|
||||
continue;
|
||||
|
||||
pos += actor2->vel * nDist * (65536. / 0x1aaaaa);
|
||||
pos2 += actor->vel * nDist * (65536. / 0x1aaaaa);
|
||||
|
||||
DVector3 tvec = pos;
|
||||
tvec.XY() += actor->spr.Angles.Yaw.ToVector() * nDist;
|
||||
|
|
Loading…
Reference in a new issue