Closed rekterakathom closed 5 months ago
Describe what this pull request will do Improve logic relating to disembarking artillery and static weapons.
Each change in a separate line
Remove distanceSqr optimization for readability
Remove useless _static variable
Apply suppression to all crew of the vehicle when disembarking (some static weapons have multiple units in them)
Don't call doVehicleSuppress after disembark (wasn't a huge issue but it was probably unintended)
When merged this pull request will: Title
Describe what this pull request will do Improve logic relating to disembarking artillery and static weapons.
Each change in a separate line
Remove distanceSqr optimization for readability
Remove useless _static variable
Apply suppression to all crew of the vehicle when disembarking (some static weapons have multiple units in them)
Don't call doVehicleSuppress after disembark (wasn't a huge issue but it was probably unintended)