mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
- RR: fixed bad angle math in shootmortar
This commit is contained in:
parent
f5ce60fa6e
commit
77ae3b3b71
1 changed files with 0 additions and 3 deletions
|
@ -799,9 +799,6 @@ static void shootmortar(DDukeActor* actor, int p, const DVector3& pos, DAngle an
|
||||||
if (zvel < -8)
|
if (zvel < -8)
|
||||||
zvel = -4;
|
zvel = -4;
|
||||||
double vel = x / 16.;
|
double vel = x / 16.;
|
||||||
|
|
||||||
ang += DAngle90;
|
|
||||||
|
|
||||||
double size = atwith == CHEERBOMB ? 0.25 : 0.5;
|
double size = atwith == CHEERBOMB ? 0.25 : 0.5;
|
||||||
|
|
||||||
CreateActor(sect, pos.plusZ(-6) + ang.ToVector() * 4, atwith, -64, DVector2(size, size), ang, vel, zvel, actor, 1);
|
CreateActor(sect, pos.plusZ(-6) + ang.ToVector() * 4, atwith, -64, DVector2(size, size), ang, vel, zvel, actor, 1);
|
||||||
|
|
Loading…
Reference in a new issue