Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description:
With this addition the enemies in buildings are not bound to a fixed 40m search radius for blufor soldiers until they resume their normal movement.
It's now bound to the opfor/blufor ratio and increases if the amount of blufor in relation to the amount of living opfor soldiers raise. It goes up to a maximum if 2/3 of the sectors capture range, set in the config file. (~120m search radius max)
This should make it easier to clean cities if there are only some few enemies left hidden in buildings.
Also a small fix for the remaining light sources after creating a clearance. (#662)
Content:
Successfully tested on: