project_files/HedgewarsMobile/Classes/CommodityFunctions.m
changeset 3660 bc125bea5849
parent 3621 a8ddf681ba7d
child 3668 3f7a95234d8a
equal deleted inserted replaced
3659:f8d5ac50e307 3660:bc125bea5849
    29         [hogName release];
    29         [hogName release];
    30         [hedgehogs addObject:hog];
    30         [hedgehogs addObject:hog];
    31         [hog release];
    31         [hog release];
    32     }
    32     }
    33     
    33     
    34     NSDictionary *theTeam = [[NSDictionary alloc] initWithObjectsAndKeys:@"0",@"hash", nameWithoutExt,@"teamname",
    34     NSDictionary *theTeam = [[NSDictionary alloc] initWithObjectsAndKeys:@"0",@"hash",
    35                              @"Statue",@"grave", @"Plane",@"fort", @"Default",@"voicepack",
    35                              @"Statue",@"grave", @"Plane",@"fort", @"Default",@"voicepack",
    36                              @"hedgewars",@"flag", hedgehogs,@"hedgehogs", nil];
    36                              @"hedgewars",@"flag", hedgehogs,@"hedgehogs", nil];
    37     [hedgehogs release];
    37     [hedgehogs release];
    38     
    38     
    39     NSString *teamFile = [[NSString alloc] initWithFormat:@"%@/%@.plist", teamsDirectory, nameWithoutExt];
    39     NSString *teamFile = [[NSString alloc] initWithFormat:@"%@/%@.plist", teamsDirectory, nameWithoutExt];