hedgewars/uLandTexture.pas
changeset 10648 75498cfe6267
parent 10634 35d059bd0932
child 11046 47a8c19ecb60
--- a/hedgewars/uLandTexture.pas	Wed Dec 10 19:44:01 2014 +0100
+++ b/hedgewars/uLandTexture.pas	Wed Dec 10 20:03:28 2014 +0100
@@ -281,8 +281,7 @@
     for x:= 0 to LANDTEXARW - 1 do
         for y:= 0 to LANDTEXARH - 1 do
             with LandTextures[x, y] do
-                if tex <> nil then
-                    FreeAndNilTexture(tex)
+                FreeAndNilTexture(tex);
 end;
 
 procedure freeModule;