project_files/HedgewarsMobile/Classes/SingleWeaponViewController.m
changeset 11795 ac93cfc17365
parent 11223 c51ecb9bcf05
child 12876 2c06b1120749
--- a/project_files/HedgewarsMobile/Classes/SingleWeaponViewController.m	Tue May 03 01:09:36 2016 +0200
+++ b/project_files/HedgewarsMobile/Classes/SingleWeaponViewController.m	Tue May 03 01:13:41 2016 +0200
@@ -39,7 +39,7 @@
     self.trPath = [NSString stringWithFormat:@"%@", LOCALE_DIRECTORY()];
     self.trFileName = [NSString stringWithFormat:@"%@.txt", [HWUtils languageID]];
     // fill the data structure that we are going to read
-    LoadLocaleWrapper([self.trPath UTF8String], [self.trFileName UTF8String]);
+    LoadLocaleWrapper([self.trPath UTF8String], [DOCUMENTS_FOLDER() UTF8String], [self.trFileName UTF8String]);
 
     quantity = (char *)malloc(sizeof(char)*(HW_getNumberOfWeapons()+1));
     probability = (char *)malloc(sizeof(char)*(HW_getNumberOfWeapons()+1));