project_files/HedgewarsMobile/Classes/MissionTrainingViewController.m
changeset 6869 a187c280dd3d
parent 6832 fae8fd118da9
child 6908 896ed2afcfb8
equal deleted inserted replaced
6868:f31b5213b163 6869:a187c280dd3d
    62 
    62 
    63 -(IBAction) buttonPressed:(id) sender {
    63 -(IBAction) buttonPressed:(id) sender {
    64     UIButton *button = (UIButton *)sender;
    64     UIButton *button = (UIButton *)sender;
    65 
    65 
    66     if (button.tag == 0) {
    66     if (button.tag == 0) {
    67         [AudioManagerController playBackSound];
    67         [[AudioManagerController mainManager] playBackSound];
    68         [[self parentViewController] dismissModalViewControllerAnimated:YES];
    68         [[self parentViewController] dismissModalViewControllerAnimated:YES];
    69     } else {
    69     } else {
    70         [GameInterfaceBridge registerCallingController:self];
    70         [GameInterfaceBridge registerCallingController:self];
    71         [GameInterfaceBridge startMissionGame:self.missionName];
    71         [GameInterfaceBridge startMissionGame:self.missionName];
    72     }
    72     }