--- a/project_files/HedgewarsMobile/Classes/MXAudioPlayerFadeOperation.m Sun Apr 22 03:59:24 2012 +0200
+++ b/project_files/HedgewarsMobile/Classes/MXAudioPlayerFadeOperation.m Sun Apr 22 04:48:11 2012 +0200
@@ -48,7 +48,7 @@
#pragma mark -
#pragma mark NSOperation
-(id) initFadeWithAudioPlayer:(AVAudioPlayer*)player toVolume:(float)volume overDuration:(NSTimeInterval)duration withDelay:(NSTimeInterval)timeDelay {
- if (self = [super init]) {
+ if ((self = [super init])) {
self.audioPlayer = player;
[player prepareToPlay];
_fadeDuration = duration;