project_files/HedgewarsMobile/Classes/MXAudioPlayerFadeOperation.m
changeset 6908 896ed2afcfb8
parent 6659 a6030b32b222
child 8441 a00b0fa0dbd7
--- 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;