- Resolves problem with wrong path to chef hat on iOS ios-revival
authorantonc27 <antonc27@mail.ru>
Sun, 09 Aug 2015 15:38:00 +0200
branchios-revival
changeset 11100 c348a8afff6e
parent 11099 c51e4c942525
child 11101 62b82de0d6b9
- Resolves problem with wrong path to chef hat on iOS
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;