project_files/HedgewarsMobile/Classes/ServerProtocolNetwork.m
changeset 6908 896ed2afcfb8
parent 6832 fae8fd118da9
child 8835 01bcf9ea68c1
--- a/project_files/HedgewarsMobile/Classes/ServerProtocolNetwork.m	Sun Apr 22 03:59:24 2012 +0200
+++ b/project_files/HedgewarsMobile/Classes/ServerProtocolNetwork.m	Sun Apr 22 04:48:11 2012 +0200
@@ -30,7 +30,7 @@
 #pragma mark -
 #pragma mark init and class methods
 -(id) init:(NSInteger) onPort withAddress:(NSString *)address {
-    if (self = [super init]) {
+    if ((self = [super init])) {
         self.serverPort = onPort;
         self.serverAddress = address;
     }