- added Gez's patch for proper splash checks with 3D-floors.
SVN r3295 (trunk)
This commit is contained in:
parent
c12538c346
commit
a0bb1c2546
5 changed files with 101 additions and 33 deletions
|
|
@ -28,6 +28,7 @@ void AFastProjectile::Tick ()
|
|||
PrevX = x;
|
||||
PrevY = y;
|
||||
PrevZ = z;
|
||||
fixed_t oldz = z;
|
||||
PrevAngle = angle;
|
||||
|
||||
if (!(flags5 & MF5_NOTIMEFREEZE))
|
||||
|
|
@ -99,6 +100,8 @@ void AFastProjectile::Tick ()
|
|||
}
|
||||
}
|
||||
z += zfrac;
|
||||
UpdateWaterLevel (oldz);
|
||||
oldz = z;
|
||||
if (z <= floorz)
|
||||
{ // Hit the floor
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue