hedgewars/uWorld.pas
changeset 7404 38a23771ee45
parent 7403 e8d0b21efa82
child 7426 55b49cc1f33a
--- a/hedgewars/uWorld.pas	Fri Jul 20 12:25:53 2012 +0100
+++ b/hedgewars/uWorld.pas	Fri Jul 20 15:39:13 2012 +0100
@@ -1114,7 +1114,6 @@
     highlight: Boolean;
     smallScreenOffset, offsetX, offsetY, screenBottom: LongInt;
     VertexBuffer: array [0..3] of TVertex2f;
-	volume: LongInt;
 begin
 if (cReducedQuality and rqNoBackground) = 0 then
     begin
@@ -1534,10 +1533,8 @@
         str(ChangeVolume(cVolumeDelta), s);
         AddCaption(Format(trmsg[sidVolume], s), cWhiteColor, capgrpVolume);
     end;
-	if isAudioMuted then
-		AddCaption(trmsg[sidMute], cWhiteColor, capgrpVolume)
-	else
-        FreeTexture(Captions[capgrpVolume].Tex)
+    if isAudioMuted then
+        AddCaption(trmsg[sidMute], cWhiteColor, capgrpVolume)
 end;
 
 if GameState = gsConfirm then