From 8cf314bebfc823b08b429720d8aaf9478ea8a000 Mon Sep 17 00:00:00 2001 From: Richard Helgeby Date: Sun, 14 Sep 2014 14:05:40 +0200 Subject: [PATCH] Fix typo in timer handle fix. --- src/zr/soundeffects/ambientsounds.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.