project_files/HedgewarsMobile/Classes/HogHatViewController.m
changeset 3948 24daa33a3114
parent 3829 81db3c85784b
child 3971 5c82ee165ed5
--- a/project_files/HedgewarsMobile/Classes/HogHatViewController.m	Sun Oct 10 21:32:18 2010 +0400
+++ b/project_files/HedgewarsMobile/Classes/HogHatViewController.m	Sun Oct 10 22:32:01 2010 +0200
@@ -31,7 +31,6 @@
     return rotationManager(interfaceOrientation);
 }
 
-
 #pragma mark -
 #pragma mark View lifecycle
 - (void)viewDidLoad {
@@ -88,7 +87,7 @@
     NSString *hatFile = [[NSString alloc] initWithFormat:@"%@/%@", HATS_DIRECTORY(), hat];
     UIImage *hatSprite = [[UIImage alloc] initWithContentsOfFile: hatFile andCutAt:CGRectMake(0, 0, 32, 32)];
     [hatFile release];
-    cell.imageView.image = [self.normalHogSprite mergeWith:hatSprite atPoint:CGPointMake(0, -5)];
+    cell.imageView.image = [self.normalHogSprite mergeWith:hatSprite atPoint:CGPointMake(0, 5)];
     [hatSprite release];
 
     if ([hat isEqualToString:[hog objectForKey:@"hat"]]) {