project_files/HedgewarsMobile/Classes/SingleTeamViewController.m
changeset 6104 117bdf4e7af9
parent 6078 8c0cc07731e5
child 6700 e04da46ee43c
equal deleted inserted replaced
6103:55ecfbf834e3 6104:117bdf4e7af9
   260                     break;
   260                     break;
   261                 case 3: // flags
   261                 case 3: // flags
   262                     accessoryImage = [[UIImage alloc] initWithContentsOfFile:[NSString stringWithFormat:@"%@/%@.png",
   262                     accessoryImage = [[UIImage alloc] initWithContentsOfFile:[NSString stringWithFormat:@"%@/%@.png",
   263                                                                               FLAGS_DIRECTORY(),[teamDictionary objectForKey:@"flag"]]];
   263                                                                               FLAGS_DIRECTORY(),[teamDictionary objectForKey:@"flag"]]];
   264                     cell.imageView.image = [accessoryImage scaleToSize:CGSizeMake(26, 18)];
   264                     cell.imageView.image = [accessoryImage scaleToSize:CGSizeMake(26, 18)];
   265                     cell.imageView.layer.borderWidth = 0.3;
       
   266                     [accessoryImage release];
   265                     [accessoryImage release];
       
   266                     cell.imageView.layer.borderWidth = 1;
       
   267                     cell.imageView.layer.borderColor = [[UIColor blackColor] CGColor];
   267                     break;
   268                     break;
   268                 case 4: // level
   269                 case 4: // level
   269                     accessoryImage = [[UIImage alloc] initWithContentsOfFile:[NSString stringWithFormat:@"%@/bot%d.png",
   270                     accessoryImage = [[UIImage alloc] initWithContentsOfFile:[NSString stringWithFormat:@"%@/bot%d.png",
   270                                                                               [[NSBundle mainBundle] resourcePath],
   271                                                                               [[NSBundle mainBundle] resourcePath],
   271                                                                               [[[[teamDictionary objectForKey:@"hedgehogs"]
   272                                                                               [[[[teamDictionary objectForKey:@"hedgehogs"]