mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-02-17 17:41:23 +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)
|
bool AActor::UpdateWaterLevel(bool dosplash)
|
||||||
{
|
{
|
||||||
|
int oldlevel = waterlevel;
|
||||||
|
|
||||||
if (dosplash) SplashCheck();
|
if (dosplash) SplashCheck();
|
||||||
|
|
||||||
double fh = -FLT_MAX;
|
double fh = -FLT_MAX;
|
||||||
bool reset = false;
|
bool reset = false;
|
||||||
int oldlevel = waterlevel;
|
|
||||||
|
|
||||||
waterlevel = 0;
|
waterlevel = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue