diff -r a12155461b34 -r fcbb024090a4 hedgewars/uWorld.pas --- a/hedgewars/uWorld.pas Sun Oct 28 04:00:07 2012 +0100 +++ b/hedgewars/uWorld.pas Sun Oct 28 04:28:39 2012 +0100 @@ -1892,19 +1892,12 @@ stereoDepth:= 0; AMState:= AMHidden; isFirstFrame:= true; + stereoDepth:= stereoDepth; // avoid hint end; procedure freeModule; begin - stereoDepth:= stereoDepth; // avoid hint - FreeTexture(fpsTexture); - fpsTexture:= nil; - FreeTexture(timeTexture); - timeTexture:= nil; - FreeTexture(missionTex); - missionTex:= nil; - FreeTexture(recTexture); - recTexture:= nil; + ResetWorldTex(); end; end.