# HG changeset patch
# User antonc27 <antonc27@mail.ru>
# Date 1439127480 -7200
# Node ID c348a8afff6edd5df4fdcb934cfca6e378d4c180
# Parent  c51e4c94252529fd679b71e3d80d1ecf48ed70a4
- Resolves problem with wrong path to chef hat on iOS

diff -r c51e4c942525 -r c348a8afff6e hedgewars/uStore.pas
--- a/hedgewars/uStore.pas	Sun Aug 09 15:37:29 2015 +0200
+++ b/hedgewars/uStore.pas	Sun Aug 09 15:38:00 2015 +0200
@@ -370,7 +370,11 @@
     begin
     MakeCrossHairs;
     LoadGraves;
+{$IFDEF IPHONEOS}
+    tmpHatSurf:= LoadDataImage(ptHats, 'chef', ifNone);
+{$ELSE}
     tmpHatSurf:= LoadDataImage(ptHats, 'Reserved/chef', ifNone);
+{$ENDIF}
     ChefHatTexture:= Surface2Tex(tmpHatSurf, true);
     freeTmpHatSurf();
     end;