mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 13:01:47 +00:00
- fixed missing dive and surface player sounds
https://forum.zdoom.org/viewtopic.php?t=65233
This commit is contained in:
parent
3467e0edcf
commit
1533abcb06
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue