- fixed missing dive and surface player sounds

https://forum.zdoom.org/viewtopic.php?t=65233
This commit is contained in:
alexey.lysiuk 2019-07-05 10:13:21 +03:00
parent 3467e0edcf
commit 1533abcb06

View file

@ -4259,11 +4259,12 @@ void AActor::SplashCheck()
bool AActor::UpdateWaterLevel(bool dosplash)
{
int oldlevel = waterlevel;
if (dosplash) SplashCheck();
double fh = -FLT_MAX;
bool reset = false;
int oldlevel = waterlevel;
waterlevel = 0;