Fix invalid timer handle error when ambient sounds are disabled.
This commit is contained in:
parent
42a2037f30
commit
8d6819c75c
|
@ -185,6 +185,7 @@ AmbientSoundsRestart()
|
|||
if (tAmbientSounds != INVALID_HANDLE)
|
||||
{
|
||||
KillTimer(tAmbientSounds);
|
||||
tAmbientSounds == INVALID_HANDLE;
|
||||
}
|
||||
|
||||
// If ambience is disabled, then stop.
|
||||
|
|
Loading…
Reference in New Issue
Block a user