- Fix ammos menu crash ios-develop
authorantonc27 <antonc27@mail.ru>
Fri, 29 Dec 2017 22:37:31 +0100
branchios-develop
changeset 12871 2c06b1120749
parent 12870 350d8bde5ccd
child 12872 00215a7ec5f5
- Fix ammos menu crash
project_files/HedgewarsMobile/Classes/SingleWeaponViewController.m
--- a/project_files/HedgewarsMobile/Classes/SingleWeaponViewController.m	Fri Dec 29 22:35:36 2017 +0100
+++ b/project_files/HedgewarsMobile/Classes/SingleWeaponViewController.m	Fri Dec 29 22:37:31 2017 +0100
@@ -46,7 +46,7 @@
     delay = (char *)malloc(sizeof(char)*(HW_getNumberOfWeapons()+1));
     crateness = (char *)malloc(sizeof(char)*(HW_getNumberOfWeapons()+1));
 
-    NSString *str = [NSString stringWithFormat:@"%@/AmmoMenu/Ammos.png",GRAPHICS_DIRECTORY()];
+    NSString *str = [NSString stringWithFormat:@"%@/AmmoMenu/Ammos_base.png", GRAPHICS_DIRECTORY()];
     UIImage *img = [[UIImage alloc] initWithContentsOfFile:str];
     self.ammoStoreImage = img;
     [img release];