equal
deleted
inserted
replaced
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"] |