missing nil
authornemo
Thu, 08 Dec 2011 23:30:03 -0500
changeset 6521 16d9ac07f504
parent 6520 6fecdc5d182f
child 6522 babc3af72035
missing nil
hedgewars/uSound.pas
project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/Datastructures/FrontendDataUtils.java
project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/Datastructures/GameMode.java
project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/Datastructures/Grave.java
project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/Datastructures/Map.java
project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/Datastructures/Scheme.java
project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/Datastructures/Team.java
project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/Datastructures/Weapon.java
project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/UserInput/TouchInterface.java
share/hedgewars/Data/Scripts/plist/Racer.plist
--- a/hedgewars/uSound.pas	Thu Dec 08 14:44:10 2011 +0400
+++ b/hedgewars/uSound.pas	Thu Dec 08 23:30:03 2011 -0500
@@ -487,7 +487,10 @@
         exit;
 
     if Mus <> nil then
+        begin
         Mix_FreeMusic(Mus);
+        Mus:= nil;
+        end
 end;
 
 procedure chVoicepack(var s: shortstring);