project_files/HedgewarsMobile/Classes/InGameMenuViewController.m
changeset 3924 2a9ace189288
parent 3922 44804043b691
child 3926 668b71f31e51
equal deleted inserted replaced
3923:694e6f6e0e30 3924:2a9ace189288
   176         [UIView setAnimationDuration:0.2];
   176         [UIView setAnimationDuration:0.2];
   177         self.view.frame = CGRectMake(screen.size.height-200, 0, 200, 170);
   177         self.view.frame = CGRectMake(screen.size.height-200, 0, 200, 170);
   178         [UIView commitAnimations];
   178         [UIView commitAnimations];
   179     }
   179     }
   180 
   180 
   181     if ([actionSheet cancelButtonIndex] != buttonIndex) {
   181     if ([actionSheet cancelButtonIndex] != buttonIndex)
   182         [[NSNotificationCenter defaultCenter] postNotificationName:@"remove overlay" object:nil];
   182         [[NSNotificationCenter defaultCenter] postNotificationName:@"remove overlay" object:nil];
   183         HW_terminate(NO);
       
   184     }
       
   185 }
   183 }
   186 
   184 
   187 @end
   185 @end