diff -r d2f599997b54 -r 42dadeb6e8ae hedgewars/uStore.pas --- a/hedgewars/uStore.pas Sat Oct 25 10:42:30 2014 -0400 +++ b/hedgewars/uStore.pas Sat Oct 25 11:29:45 2014 -0400 @@ -364,6 +364,9 @@ begin MakeCrossHairs; LoadGraves; + tmpHatSurf:= LoadDataImage(ptHats, 'Reserved/chef', ifNone); + ChefHatTexture:= Surface2Tex(tmpHatSurf, true); + freeTmpHatSurf(); end; if not reload then @@ -507,6 +510,7 @@ SDL_FreeSurface(MissionIcons); // free the textures declared in uVariables +FreeAndNilTexture(ChefHatTexture); FreeAndNilTexture(CrosshairTexture); FreeAndNilTexture(WeaponTooltipTex); FreeAndNilTexture(PauseTexture);