project_files/HedgewarsMobile/Classes/InGameMenuViewController.m
changeset 3791 98072b3871c1
parent 3737 2ba6ac8a114b
child 3829 81db3c85784b
equal deleted inserted replaced
3790:8f48b54f42ce 3791:98072b3871c1
   107 -(void) tableView:(UITableView *)aTableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
   107 -(void) tableView:(UITableView *)aTableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
   108     UIActionSheet *actionSheet;
   108     UIActionSheet *actionSheet;
   109 
   109 
   110     switch ([indexPath row]) {
   110     switch ([indexPath row]) {
   111         case 0:
   111         case 0:
   112             HW_pause();
   112             [[NSNotificationCenter defaultCenter] postNotificationName:@"show help ingame" object:nil];
   113             break;
   113             break;
   114         case 1:
   114         case 1:
   115             if (SDL_iPhoneKeyboardIsShown(sdlwindow))
   115             if (SDL_iPhoneKeyboardIsShown(sdlwindow))
   116                 [self removeChat];
   116                 [self removeChat];
   117             else {
   117             else {