project_files/HedgewarsMobile/Classes/SingleWeaponViewController.m
changeset 3930 8b00b4f93242
parent 3926 668b71f31e51
child 4284 57a501a69e5f
equal deleted inserted replaced
3928:2560731c860d 3930:8b00b4f93242
   101     NSString *probabilityStr = [NSString stringWithUTF8String:probability];
   101     NSString *probabilityStr = [NSString stringWithUTF8String:probability];
   102     NSString *delayStr = [NSString stringWithUTF8String:delay];
   102     NSString *delayStr = [NSString stringWithUTF8String:delay];
   103     NSString *cratenessStr = [NSString stringWithUTF8String:crateness];
   103     NSString *cratenessStr = [NSString stringWithUTF8String:crateness];
   104     
   104     
   105     NSDictionary *weapon = [[NSDictionary alloc] initWithObjectsAndKeys:
   105     NSDictionary *weapon = [[NSDictionary alloc] initWithObjectsAndKeys:
   106                             [NSNumber numberWithInt:HW_getNumberOfWeapons()],@"version",
       
   107                             quantityStr,@"ammostore_initialqt",
   106                             quantityStr,@"ammostore_initialqt",
   108                             probabilityStr,@"ammostore_probability",
   107                             probabilityStr,@"ammostore_probability",
   109                             delayStr,@"ammostore_delay",
   108                             delayStr,@"ammostore_delay",
   110                             cratenessStr,@"ammostore_crate", 
   109                             cratenessStr,@"ammostore_crate", 
   111                             self.description,@"description",
   110                             self.description,@"description",