project_files/HedgewarsMobile/Classes/GameInterfaceBridge.m
changeset 6246 6b2d19ed521a
parent 6209 074ab6ebcb3e
child 6247 6dfad55fd71c
--- a/project_files/HedgewarsMobile/Classes/GameInterfaceBridge.m	Sun Oct 30 23:24:36 2011 +0100
+++ b/project_files/HedgewarsMobile/Classes/GameInterfaceBridge.m	Mon Oct 31 01:44:32 2011 +0100
@@ -20,7 +20,6 @@
 
 
 #import "GameInterfaceBridge.h"
-#import "ServerSetup.h"
 #import "EngineProtocolNetwork.h"
 #import "OverlayViewController.h"
 #import "StatsPageViewController.h"
@@ -32,7 +31,7 @@
 
 -(id) initWithController:(id) viewController {
     if (self = [super init]) {
-        self.ipcPort = [ServerSetup randomPort];
+        self.ipcPort = [HWUtils randomPort];
         self.gameType = gtNone;
         self.savePath = nil;