equal
deleted
inserted
replaced
197 if ([[gamemodArray objectAtIndex:i++] boolValue]) |
197 if ([[gamemodArray objectAtIndex:i++] boolValue]) |
198 result |= 0x00080000; |
198 result |= 0x00080000; |
199 if ([[gamemodArray objectAtIndex:i++] boolValue]) |
199 if ([[gamemodArray objectAtIndex:i++] boolValue]) |
200 result |= 0x00100000; |
200 result |= 0x00100000; |
201 |
201 |
|
202 DLog(@"Sent %d flags",i); |
202 NSString *flags = [[NSString alloc] initWithFormat:@"e$gmflags %d",result]; |
203 NSString *flags = [[NSString alloc] initWithFormat:@"e$gmflags %d",result]; |
203 [self sendToEngine:flags]; |
204 [self sendToEngine:flags]; |
204 [flags release]; |
205 [flags release]; |
205 |
206 |
206 i = 0; |
207 i = 0; |
240 |
241 |
241 NSString *explosives = [[NSString alloc] initWithFormat:@"e$explosives %d",[[basicArray objectAtIndex:i++] intValue]]; |
242 NSString *explosives = [[NSString alloc] initWithFormat:@"e$explosives %d",[[basicArray objectAtIndex:i++] intValue]]; |
242 [self sendToEngine:explosives]; |
243 [self sendToEngine:explosives]; |
243 [explosives release]; |
244 [explosives release]; |
244 |
245 |
|
246 DLog(@"Sent %d modes",i); |
245 [schemeDictionary release]; |
247 [schemeDictionary release]; |
246 return result; |
248 return result; |
247 } |
249 } |
248 |
250 |
249 #pragma mark - |
251 #pragma mark - |