project_files/HedgewarsMobile/Classes/EngineProtocolNetwork.m
changeset 5181 102fef5ca5fc
parent 5175 a3da220dbb3f
child 5185 7607a64e1853
equal deleted inserted replaced
5180:a881cd3d3163 5181:102fef5ca5fc
   181     }
   181     }
   182     NSString *flags = [[NSString alloc] initWithFormat:@"e$gmflags %d",result];
   182     NSString *flags = [[NSString alloc] initWithFormat:@"e$gmflags %d",result];
   183     [self sendToEngine:flags];
   183     [self sendToEngine:flags];
   184     [flags release];
   184     [flags release];
   185 
   185 
   186     /* basic game flags */
   186     // game modifiers
   187     NSString *path = [[NSString alloc] initWithFormat:@"%@/basicFlags_en.plist",IFRONTEND_DIRECTORY()];
   187     NSString *path = [[NSString alloc] initWithFormat:@"%@/basicFlags_en.plist",IFRONTEND_DIRECTORY()];
   188     NSArray *mods = [[NSArray alloc] initWithContentsOfFile:path];
   188     NSArray *mods = [[NSArray alloc] initWithContentsOfFile:path];
   189     [path release];
   189     [path release];
   190 
   190 
   191     result = [[basicArray objectAtIndex:0] intValue];
   191     result = [[basicArray objectAtIndex:0] intValue];