I marked with a lot of angle bracket the if statement.
Any idea? if you need more information, I can provide it immediately.
Help me!
-(void) scorePostOk: (id) sender
{
Sprite *loading = (Sprite *)[self getChildByTag:kLoading];
if(loading)
[loading setOpacity:0];
NSLog(@"scorePostOk");
>>>>>>> if( [sender ranking] != kServerPostInvalidRanking && [sender scoreDidUpdate]) {
NSLog(@"Posted score Okay");
NSString *message = [NSString stringWithFormat:@"World ranking: %d", [sender ranking]];
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Post Ok." message:message delegate:nil cancelButtonTitle:nil otherButtonTitles:@"OK", nil];
alert.tag = 2;
[alert show];
[alert release];
}
[self requestScore];
}