hedgewars/uLand.pas
changeset 3513 f589230fa21b
parent 3509 d72c2219595d
child 3519 56cbc035b74b
equal deleted inserted replaced
3512:6a8b5f313190 3513:f589230fa21b
  1175         if SDL_MustLock(tmpsurf) then
  1175         if SDL_MustLock(tmpsurf) then
  1176             SDL_UnlockSurface(tmpsurf);
  1176             SDL_UnlockSurface(tmpsurf);
  1177     end;
  1177     end;
  1178     if (tmpsurf <> nil) then 
  1178     if (tmpsurf <> nil) then 
  1179         SDL_FreeSurface(tmpsurf);
  1179         SDL_FreeSurface(tmpsurf);
       
  1180     tmpsurf:= nil;
  1180 end;
  1181 end;
  1181 
  1182 
  1182 procedure LoadMap;
  1183 procedure LoadMap;
  1183 var tmpsurf: PSDL_Surface;
  1184 var tmpsurf: PSDL_Surface;
  1184     s: shortstring;
  1185     s: shortstring;