# HG changeset patch # User koda # Date 1268879266 0 # Node ID 4a52e070501138ae8e9b3756ec7ab90d70f4f921 # Parent 20a9c8160e82daf7d5ad23c436905a208794f966 fix the glitch causing pass-through in land objects besides first game diff -r 20a9c8160e82 -r 4a52e0705011 hedgewars/uLand.pas --- a/hedgewars/uLand.pas Thu Mar 18 02:18:50 2010 +0000 +++ b/hedgewars/uLand.pas Thu Mar 18 02:27:46 2010 +0000 @@ -861,6 +861,7 @@ procedure free_uLand; begin + FillChar(LandPixels, sizeof(TLandArray), 0); if LandBackSurface <> nil then SDL_FreeSurface(LandBackSurface); end;