equal
deleted
inserted
replaced
117 self.lastIndexPath = indexPath; |
117 self.lastIndexPath = indexPath; |
118 } else { |
118 } else { |
119 cell.accessoryType = UITableViewCellAccessoryNone; |
119 cell.accessoryType = UITableViewCellAccessoryNone; |
120 } |
120 } |
121 |
121 |
122 NSString *botlevelPath = [[NSString alloc] initWithFormat:@"%@/%d.png",BOTLEVELS_DIRECTORY(),row+1]; |
122 NSString *botlevelPath = [[NSString alloc] initWithFormat:@"%@/bot%d.png",[[NSBundle mainBundle] resourcePath],row+1]; |
123 UIImage *levelImage = [[UIImage alloc] initWithContentsOfFile:botlevelPath]; |
123 UIImage *levelImage = [[UIImage alloc] initWithContentsOfFile:botlevelPath]; |
124 [botlevelPath release]; |
124 [botlevelPath release]; |
125 cell.imageView.image = levelImage; |
125 cell.imageView.image = levelImage; |
126 [levelImage release]; |
126 [levelImage release]; |
127 } |
127 } |