hedgewars/uLand.pas
changeset 3513 f589230fa21b
parent 3509 d72c2219595d
child 3519 56cbc035b74b
--- a/hedgewars/uLand.pas	Thu Jun 17 11:42:23 2010 -0400
+++ b/hedgewars/uLand.pas	Thu Jun 17 19:57:51 2010 +0200
@@ -1177,6 +1177,7 @@
     end;
     if (tmpsurf <> nil) then 
         SDL_FreeSurface(tmpsurf);
+    tmpsurf:= nil;
 end;
 
 procedure LoadMap;