mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-16 17:41:19 +00:00
- fixed missing dive and surface player sounds
https://forum.zdoom.org/viewtopic.php?t=65233
This commit is contained in:
parent
7bf370dd63
commit
9d8b4f6c05
1 changed files with 2 additions and 1 deletions
|
@ -4281,11 +4281,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