mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-01-18 23:41:38 +00:00
Turn off underwater sfx on disconnect
This commit is contained in:
parent
1a514560da
commit
74c8c60e38
1 changed files with 3 additions and 0 deletions
|
@ -25,6 +25,7 @@
|
|||
*/
|
||||
|
||||
#include "header/client.h"
|
||||
#include "../client/sound/header/local.h"
|
||||
|
||||
void CL_ParseStatusMessage(void);
|
||||
|
||||
|
@ -354,6 +355,8 @@ CL_Disconnect(void)
|
|||
}
|
||||
|
||||
cls.state = ca_disconnected;
|
||||
|
||||
snd_is_underwater = false;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue