project_files/HedgewarsMobile/Classes/SingleTeamViewController.m
changeset 3825 fd6c20cd90e3
parent 3816 7b74aa003f52
child 3829 81db3c85784b
equal deleted inserted replaced
3823:cca9bfb88a24 3825:fd6c20cd90e3
   246                     [accessoryImage release];
   246                     [accessoryImage release];
   247                     break;
   247                     break;
   248                 case 3: // flags
   248                 case 3: // flags
   249                     accessoryImage = [[UIImage alloc] initWithContentsOfFile:[NSString stringWithFormat:@"%@/%@.png",
   249                     accessoryImage = [[UIImage alloc] initWithContentsOfFile:[NSString stringWithFormat:@"%@/%@.png",
   250                                                                               FLAGS_DIRECTORY(),[teamDictionary objectForKey:@"flag"]]];
   250                                                                               FLAGS_DIRECTORY(),[teamDictionary objectForKey:@"flag"]]];
   251                     cell.imageView.image = [accessoryImage scaleToSize:CGSizeMake(32, 32)];
   251                     cell.imageView.image = [accessoryImage scaleToSize:CGSizeMake(27, 19)];
   252                     [accessoryImage release];
   252                     [accessoryImage release];
   253                     break;
   253                     break;
   254                 case 4: // level
   254                 case 4: // level
   255                     accessoryImage = [[UIImage alloc] initWithContentsOfFile:[NSString stringWithFormat:@"%@/%d.png",
   255                     accessoryImage = [[UIImage alloc] initWithContentsOfFile:[NSString stringWithFormat:@"%@/%d.png",
   256                                                                               BOTLEVELS_DIRECTORY(),[[[[teamDictionary objectForKey:@"hedgehogs"]
   256                                                                               BOTLEVELS_DIRECTORY(),[[[[teamDictionary objectForKey:@"hedgehogs"]