--- a/project_files/HedgewarsMobile/Classes/GameInterfaceBridge.m Mon Apr 09 02:02:14 2012 +0200
+++ b/project_files/HedgewarsMobile/Classes/GameInterfaceBridge.m Mon Apr 09 03:25:17 2012 +0200
@@ -32,7 +32,7 @@
// prepares the controllers for hosting a game
-(void) earlyEngineLaunch:(NSDictionary *)optionsOrNil {
[self retain];
- [AudioManagerController fadeOutBackgroundMusic];
+ [[AudioManagerController mainManager] fadeOutBackgroundMusic];
EngineProtocolNetwork *engineProtocol = [[EngineProtocolNetwork alloc] init];
self.proto = engineProtocol;
@@ -101,7 +101,7 @@
[[NSFileManager defaultManager] removeItemAtPath:self.savePath error:nil];
// restart music and we're done
- [AudioManagerController fadeInBackgroundMusic];
+ [[AudioManagerController mainManager] fadeInBackgroundMusic];
[HWUtils setGameStatus:gsNone];
[HWUtils setGameType:gtNone];
[self release];