beyond-all-reason / Beyond-All-Reason

Main game repository for Beyond All Reason.
https://www.beyondallreason.info/
Other
1.69k stars 277 forks source link

norush: units can exit startboxes during pathing #3576

Open matthiaskrgr opened 1 month ago

matthiaskrgr commented 1 month ago

Description

it seems that the in norush zone, a player cannot designate a unit to move to a position that is not inside their start box.

However it is possible to cheese this by making a unit move to a different position in the start box and have their path leave the start zone (this should probably be forbidden?)

This can be cheesed by making the unit leave the start zone and then issuing a stop command to get the unit further towards enemy zone than it would normally be able to go to.

Expected Behaviour

unit paths are calculated to never leave the start zone

Actual Behaviour

it is only checked that the unit target position is inside the start zone, but pathing is unrestricted

Reproduction steps

No response

Other

No response

matthiaskrgr commented 1 month ago

screen_2024-08-12_19-05-44-186