Skip to content

Conversation

@rnyoakum
Copy link
Contributor

Sets the MisSaf field for the Photo Recon when performing Mission Setup.
This continues a bug fix in d2b5c1b.
Fixes #482.

Because the MissionType.Hard array does not include a slot for
Mission_PhotoRecon, Photo Recon was not being properly added to the mission
hardware array (the global MH). Commit d2b5c1b explicitly added
Photo Recon to all missions, but overlooked setting the mission safety
field MisSaf that tests are rolled against. This commit fixes that.

This also sets the MissionType.Hard[Mission_EVA] field in the VAB on
manned missions, so MissionSetup() isn't tacitly relying on the field
being initialized to a default of 0.

Sets the MisSaf field for the Photo Recon when performing Mission Setup.
This continues a bug fix in d2b5c1b.
Fixes raceintospace#482.

Because the MissionType.Hard array does not include a slot for
Mission_PhotoRecon, Photo Recon was not being properly added to the mission
hardware array (the global MH). Commit d2b5c1b explicitly added
Photo Recon to all missions, but overlooked setting the mission safety
field MisSaf that tests are rolled against. This commit fixes that.

This also sets the MissionType.Hard[Mission_EVA] field in the VAB on
manned missions, so MissionSetup() isn't tacitly relying on the field
being initialized to a default of 0.
@rnyoakum rnyoakum merged commit ee788a4 into raceintospace:master Oct 13, 2020
@rnyoakum rnyoakum deleted the Restore-PhotoRecon branch October 13, 2020 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Photo Recon check using wrong safety

1 participant