- added Gez's patch for proper splash checks with 3D-floors.

SVN r3295 (trunk)
This commit is contained in:
Christoph Oelckers 2011-09-21 19:39:12 +00:00
commit a0bb1c2546
5 changed files with 101 additions and 33 deletions

View file

@ -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