--- a/project_files/HedgewarsMobile/Classes/SingleTeamViewController.m Wed Sep 21 22:51:52 2011 +0200
+++ b/project_files/HedgewarsMobile/Classes/SingleTeamViewController.m Wed Sep 21 23:15:44 2011 +0200
@@ -85,8 +85,8 @@
[moreArray release];
// load the base hog image, drawing will occure in cellForRow...
- NSString *normalHogFile = [[NSString alloc] initWithFormat:@"%@/Hedgehog.png",GRAPHICS_DIRECTORY()];
- UIImage *hogSprite = [[UIImage alloc] initWithContentsOfFile:normalHogFile andCutAt:CGRectMake(96, 0, 32, 32)];
+ NSString *normalHogFile = [[NSString alloc] initWithFormat:@"%@/basehat-hedgehog.png",[[NSBundle mainBundle] resourcePath]];
+ UIImage *hogSprite = [[UIImage alloc] initWithContentsOfFile:normalHogFile];
[normalHogFile release];
self.normalHogSprite = hogSprite;
[hogSprite release];