equal
deleted
inserted
replaced
157 [alert release]; |
157 [alert release]; |
158 return NO; |
158 return NO; |
159 } |
159 } |
160 |
160 |
161 // play if there aren't too many teams |
161 // play if there aren't too many teams |
162 if ([self.teamConfigViewController.listOfSelectedTeams count] > HW_getMaxNumberOfTeams()) { |
162 if ((int)[self.teamConfigViewController.listOfSelectedTeams count] > HW_getMaxNumberOfTeams()) { |
163 UIAlertView *alert = [[UIAlertView alloc] initWithTitle:NSLocalizedString(@"Too many teams",@"") |
163 UIAlertView *alert = [[UIAlertView alloc] initWithTitle:NSLocalizedString(@"Too many teams",@"") |
164 message:NSLocalizedString(@"You exceeded the maximum number of tems allowed in a game",@"") |
164 message:NSLocalizedString(@"You exceeded the maximum number of tems allowed in a game",@"") |
165 delegate:nil |
165 delegate:nil |
166 cancelButtonTitle:NSLocalizedString(@"Ok, got it",@"") |
166 cancelButtonTitle:NSLocalizedString(@"Ok, got it",@"") |
167 otherButtonTitles:nil]; |
167 otherButtonTitles:nil]; |