--- a/project_files/HedgewarsMobile/Classes/MainMenuViewController.m Sun Oct 30 23:24:36 2011 +0100
+++ b/project_files/HedgewarsMobile/Classes/MainMenuViewController.m Mon Oct 31 01:44:32 2011 +0100
@@ -29,7 +29,7 @@
#import "MissionTrainingViewController.h"
#import "GameInterfaceBridge.h"
#import "Appirater.h"
-#import "ServerSetup.h"
+#import "ServerProtocolNetwork.h"
@implementation MainMenuViewController
@@ -122,15 +122,11 @@
[Appirater appLaunched];
}
-
/*
- ServerSetup *setup = [[ServerSetup alloc] init];
- if (isNetworkReachable()) {
- DLog(@"network is reachable");
- [NSThread detachNewThreadSelector:@selector(serverProtocol)
+ ServerProtocolNetwork *setup = [[ServerProtocolNetwork alloc] init];
+ [NSThread detachNewThreadSelector:@selector(serverProtocol)
toTarget:setup
withObject:nil];
- }
[setup release];
*/
}