mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-22 19:51:16 +00:00
- Duke: fixed projectile offsetting for BOSS2 and BOSS3
This commit is contained in:
parent
5e7f90562c
commit
97f14c0e0e
1 changed files with 2 additions and 2 deletions
|
@ -677,7 +677,7 @@ static void shootrpg(DDukeActor *actor, int p, DVector3 pos, DAngle ang, int atw
|
||||||
double zoffs = 32;
|
double zoffs = 32;
|
||||||
if (isWorldTour()) // Twentieth Anniversary World Tour
|
if (isWorldTour()) // Twentieth Anniversary World Tour
|
||||||
zoffs *= (actor->spr.scale.Y * 0.8);
|
zoffs *= (actor->spr.scale.Y * 0.8);
|
||||||
pos.Z += zoffs;
|
pos.Z -= zoffs;
|
||||||
}
|
}
|
||||||
else if (actor->spr.picnum == DTILE_BOSS2)
|
else if (actor->spr.picnum == DTILE_BOSS2)
|
||||||
{
|
{
|
||||||
|
@ -685,7 +685,7 @@ static void shootrpg(DDukeActor *actor, int p, DVector3 pos, DAngle ang, int atw
|
||||||
double zoffs = 24;
|
double zoffs = 24;
|
||||||
if (isWorldTour()) // Twentieth Anniversary World Tour
|
if (isWorldTour()) // Twentieth Anniversary World Tour
|
||||||
zoffs *= (actor->spr.scale.Y * 0.8);
|
zoffs *= (actor->spr.scale.Y * 0.8);
|
||||||
pos.Z -= zoffs;
|
pos.Z += zoffs;
|
||||||
}
|
}
|
||||||
|
|
||||||
double dist = (ps[j].GetActor()->spr.pos.XY() - actor->spr.pos.XY()).Length();
|
double dist = (ps[j].GetActor()->spr.pos.XY() - actor->spr.pos.XY()).Length();
|
||||||
|
|
Loading…
Reference in a new issue