--- a/project_files/HedgewarsMobile/Classes/MapConfigViewController.m Fri Sep 23 22:42:30 2011 +0200
+++ b/project_files/HedgewarsMobile/Classes/MapConfigViewController.m Sat Sep 24 00:54:47 2011 +0200
@@ -40,7 +40,7 @@
}
-(IBAction) mapButtonPressed {
- playSound(@"clickSound");
+ [AudioManagerController playClickSound];
[self updatePreview];
}
@@ -307,7 +307,7 @@
[self updatePreview];
oldValue = num;
}
- playSound(@"clickSound");
+ [AudioManagerController playClickSound];
}
// perform actions based on the activated section, then call updatePreview to visually update the selection
@@ -316,7 +316,7 @@
NSString *mapgen, *staticmap, *mission;
NSInteger newPage = self.segmentedControl.selectedSegmentIndex;
- playSound(@"selSound");
+ [AudioManagerController playSelectSound];
switch (newPage) {
case 0: // Random
mapgen = @"e$mapgen 0";