project_files/HedgewarsMobile/Classes/CommodityFunctions.m
changeset 3778 2e61bb50cc57
parent 3737 2ba6ac8a114b
child 3781 2bfda544ae48
equal deleted inserted replaced
3777:5276f2150d65 3778:2e61bb50cc57
    53                                   withIntermediateDirectories:NO
    53                                   withIntermediateDirectories:NO
    54                                                    attributes:nil
    54                                                    attributes:nil
    55                                                         error:NULL];
    55                                                         error:NULL];
    56     }
    56     }
    57 
    57 
    58     NSDictionary *theWeapon;
    58     NSDictionary *theWeapon = nil;
    59     switch (type) {
    59     switch (type) {
    60         case 0: //default
    60         case 0: //default
    61             theWeapon = [[NSDictionary alloc] initWithObjectsAndKeys:
    61             theWeapon = [[NSDictionary alloc] initWithObjectsAndKeys:
    62                          [NSNumber numberWithInt:CURRENT_AMMOSIZE],@"version",
    62                          [NSNumber numberWithInt:CURRENT_AMMOSIZE],@"version",
    63                          @"939192942219912103223511100120100000021111011101",@"ammostore_initialqt",
    63                          @"939192942219912103223511100120100000021111011101",@"ammostore_initialqt",