project_files/HedgewarsMobile/Classes/WeaponSettingsViewController.m
changeset 3737 2ba6ac8a114b
parent 3697 d5b30d6373fc
child 3829 81db3c85784b
--- 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];