oh. I missed the fact he moved it to uLandTexture
authornemo
Mon, 22 Mar 2010 18:04:18 +0000
changeset 3048 755f484d0f62
parent 3047 2847f4f2ce67
child 3049 05ec3482930d
oh. I missed the fact he moved it to uLandTexture
hedgewars/uLand.pas
--- a/hedgewars/uLand.pas	Mon Mar 22 18:02:39 2010 +0000
+++ b/hedgewars/uLand.pas	Mon Mar 22 18:04:18 2010 +0000
@@ -861,9 +861,7 @@
 
 procedure freeModule;
 begin
-    FillChar(LandPixels, sizeof(TLandArray), 0);
-    // TODO - Find out why unc0rr removed this since it will leak
-    if LandBackSurface <> nil then SDL_FreeSurface(LandBackSurface);
+    FillChar(LandPixels, sizeof(TLandArray), 0)
 end;
 
 end.