incompatibleWithEquipment / requiresEquipment dependancy bugfix

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1647 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
Marc 2008-05-22 08:59:25 +00:00
parent 3c82f379e0
commit c21fc50127

View File

@ -4705,7 +4705,7 @@ static int last_outfitting_index;
requiresMountedPylon = [eq_extra_info_dict boolForKey:@"requires_mounted_pylon" defaultValue:requiresMountedPylon];
requiresCargoSpace = [eq_extra_info_dict unsignedIntForKey:@"requires_cargo_space" defaultValue:requiresCargoSpace];
requiresEquipment = [eq_extra_info_dict objectForKey:@"requires_equipment" defaultValue:requiresEquipment];
incompatibleWithEquipment = [eq_extra_info_dict objectForKey:@"incompatible_with_equipment" defaultValue:requiresEquipment];
incompatibleWithEquipment = [eq_extra_info_dict objectForKey:@"incompatible_with_equipment" defaultValue:incompatibleWithEquipment];
if ([eq_extra_info_dict objectForKey:@"requires_clean"]) requiresClean = YES;
if ([eq_extra_info_dict objectForKey:@"requires_not_clean"]) requiresNotClean = YES;