hedgewars/uStore.pas
changeset 7297 af64b509725c
parent 7291 ad4b6c2b09e8
child 7304 8b3575750cd2
--- a/hedgewars/uStore.pas	Mon Jun 25 12:02:54 2012 +0200
+++ b/hedgewars/uStore.pas	Mon Jun 25 15:46:08 2012 +0200
@@ -475,7 +475,7 @@
     SpritesData[ii].Texture:= nil;
     if (SpritesData[ii].Surface <> nil) and (not reload) then
         begin
-        SDL_FreeSurface(SpritesData[ii].Surface);
+        //SDL_FreeSurface(SpritesData[ii].Surface); released by FreeTexture
         SpritesData[ii].Surface:= nil
         end
     end;