project_files/HedgewarsMobile/Classes/MainMenuViewController.m
changeset 6115 485cfecadc9a
parent 6106 ba098945bd72
child 6246 6b2d19ed521a
equal deleted inserted replaced
6114:443cce9e060f 6115:485cfecadc9a
   149 
   149 
   150     [AudioManagerController playClickSound];
   150     [AudioManagerController playClickSound];
   151     switch (button.tag) {
   151     switch (button.tag) {
   152         case 0:
   152         case 0:
   153             if (nil == self.gameConfigViewController) {
   153             if (nil == self.gameConfigViewController) {
   154                 xib = IS_IPAD() ? nil : @"GameConfigViewController";
   154                 xib = IS_IPAD() ? @"GameConfigViewController-iPad" : @"GameConfigViewController-iPhone";
   155 
   155 
   156                 GameConfigViewController *gcvc = [[GameConfigViewController alloc] initWithNibName:xib bundle:nil];
   156                 GameConfigViewController *gcvc = [[GameConfigViewController alloc] initWithNibName:xib bundle:nil];
   157                 gcvc.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
   157                 gcvc.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
   158                 self.gameConfigViewController = gcvc;
   158                 self.gameConfigViewController = gcvc;
   159                 [gcvc release];
   159                 [gcvc release];