project_files/HedgewarsMobile/Classes/ObjcExports.m
changeset 5662 99083392cd4f
parent 5194 851c6fbb44e6
child 5992 a311b8461ec9
--- a/project_files/HedgewarsMobile/Classes/ObjcExports.m	Mon Aug 22 23:56:25 2011 +0200
+++ b/project_files/HedgewarsMobile/Classes/ObjcExports.m	Tue Aug 23 03:46:17 2011 +0200
@@ -67,8 +67,7 @@
     overlay_instance.lowerIndicator = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge];
 
     CGPoint center = overlay_instance.view.center;
-    overlay_instance.lowerIndicator.center = (IS_DUALHEAD() ? CGPointMake(center.y, center.x)
-                                              : CGPointMake(center.y, center.x * 5/3));
+    overlay_instance.lowerIndicator.center = (IS_DUALHEAD() ? center : CGPointMake(center.x, center.y * 5/3));
 
     [overlay_instance.lowerIndicator startAnimating];
     [overlay_instance.view addSubview:overlay_instance.lowerIndicator];
@@ -110,8 +109,7 @@
 
     overlay_instance.savesIndicator = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge];
 
-    CGPoint center = overlay_instance.view.center;
-    overlay_instance.savesIndicator.center = CGPointMake(center.y, center.x);
+    overlay_instance.savesIndicator.center = overlay_instance.view.center;
     overlay_instance.savesIndicator.hidesWhenStopped = YES;
 
     [overlay_instance.savesIndicator startAnimating];