- fixed: P_RailAttack did not make adjustments for the shooter's floorclip.
This commit is contained in:
parent
5158b1c337
commit
19df603f92
2 changed files with 7 additions and 1 deletions
|
|
@ -5011,7 +5011,7 @@ void P_RailAttack(FRailParams *p)
|
|||
DAngle angle = source->Angles.Yaw + p->angleoffset;
|
||||
|
||||
DVector3 vec(DRotator(-pitch, angle, angle));
|
||||
double shootz = source->Center() - source->FloatSpeed + p->offset_z;
|
||||
double shootz = source->Center() - source->FloatSpeed + p->offset_z - source->Floorclip;
|
||||
|
||||
if (!(p->flags & RAF_CENTERZ))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue