diff --git a/src/zr/soundeffects/ambientsounds.inc b/src/zr/soundeffects/ambientsounds.inc index b0a645f..25f246a 100644 --- a/src/zr/soundeffects/ambientsounds.inc +++ b/src/zr/soundeffects/ambientsounds.inc @@ -185,7 +185,7 @@ AmbientSoundsRestart() if (tAmbientSounds != INVALID_HANDLE) { KillTimer(tAmbientSounds); - tAmbientSounds == INVALID_HANDLE; + tAmbientSounds = INVALID_HANDLE; } // If ambience is disabled, then stop.