diff -r a2f9a9a62dc5 -r 896ed2afcfb8 project_files/HedgewarsMobile/Classes/SchemeWeaponConfigViewController.m --- a/project_files/HedgewarsMobile/Classes/SchemeWeaponConfigViewController.m Sun Apr 22 03:59:24 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/SchemeWeaponConfigViewController.m Sun Apr 22 04:48:11 2012 +0200 @@ -272,9 +272,9 @@ if ([[settings objectForKey:@"sync_ws"] boolValue]) { for (NSString *str in self.listOfWeapons) { if ([str isEqualToString:self.selectedScheme]) { - int index = [self.listOfSchemes indexOfObject:str]; + int row = [self.listOfSchemes indexOfObject:str]; self.selectedWeapon = str; - self.lastIndexPath_we = [NSIndexPath indexPathForRow:index inSection:1]; + self.lastIndexPath_we = [NSIndexPath indexPathForRow:row inSection:1]; break; } }