--- a/project_files/HedgewarsMobile/Classes/ServerProtocolNetwork.m Sat Nov 12 21:53:39 2011 +0100
+++ b/project_files/HedgewarsMobile/Classes/ServerProtocolNetwork.m Sat Nov 12 21:59:10 2011 +0100
@@ -58,8 +58,8 @@
[super dealloc];
}
-+(ServerProtocolNetwork *)openServerConnection {
- ServerProtocolNetwork *connection = [[ServerProtocolNetwork alloc] init];
++(id) openServerConnection {
+ id connection = [[self alloc] init];
[NSThread detachNewThreadSelector:@selector(serverProtocol)
toTarget:connection
withObject:nil];