--- a/project_files/HedgewarsMobile/Classes/WeaponSettingsViewController.m Thu Aug 12 23:15:11 2010 +0200
+++ b/project_files/HedgewarsMobile/Classes/WeaponSettingsViewController.m Fri Aug 13 02:13:18 2010 +0200
@@ -66,7 +66,7 @@
-(void) addWeapon:(id) sender {
NSString *fileName = [[NSString alloc] initWithFormat:@"Weapon %u.plist", [self.listOfWeapons count]];
- createWeaponNamed([fileName stringByDeletingPathExtension]);
+ createWeaponNamed([fileName stringByDeletingPathExtension], 0);
[self.listOfWeapons addObject:fileName];
[fileName release];