# HG changeset patch
# User unc0rr
# Date 1201453494 0
# Node ID a45111da760ec3d9d9f86f7cf413f82b66ed411d
# Parent  7513452b1d51e058b5caf3b4314362c775791c44
Fix a bug introduced in previous revision (accidental delete of land surface)

diff -r 7513452b1d51 -r a45111da760e hedgewars/uStore.pas
--- a/hedgewars/uStore.pas	Sun Jan 27 16:49:11 2008 +0000
+++ b/hedgewars/uStore.pas	Sun Jan 27 17:04:54 2008 +0000
@@ -210,7 +210,7 @@
           if GraveName = '' then GraveName:= 'Simple';
           texsurf:= LoadImage(Pathz[ptGraves] + '/' + GraveName, false, true, true);
           GraveTex:= Surface2Tex(texsurf);
-          SDL_FreeSurface(tmpsurf)
+          SDL_FreeSurface(texsurf)
           end
     end;