--- a/project_files/HedgewarsMobile/Classes/OverlayViewController.m Fri Nov 05 22:32:00 2010 -0400
+++ b/project_files/HedgewarsMobile/Classes/OverlayViewController.m Sat Nov 06 03:57:47 2010 +0100
@@ -228,8 +228,14 @@
-(void) showHelp:(id) sender {
- if (self.helpPage == nil)
- self.helpPage = [[HelpPageViewController alloc] initWithNibName:@"HelpPageInGameViewController" bundle:nil];
+ if (self.helpPage == nil) {
+ NSString *xib;
+ if (IS_IPAD())
+ xib = @"HelpPageInGameViewController-iPad";
+ else
+ xib = @"HelpPageInGameViewController-iPhone";
+ self.helpPage = [[HelpPageViewController alloc] initWithNibName:xib bundle:nil];
+ }
self.helpPage.view.alpha = 0;
[self.view addSubview:helpPage.view];
[UIView beginAnimations:@"helpingame" context:NULL];