Fix the bug where stationary vehicles would also block movement caused by external factors#2188
Conversation
Speed=0 prevents two cases
|
To Chinese users:
|
|
Nightly build for this pull request:
This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build. |
|
I think this is more of an issue with Locomotor WH. The design of Locomotor WH is shit from the very start. It makes units replace their Locomotor and move on their own to the attacker to simulate a "pulling" effect, which causes problems once the unit refuses to move. |
|
Tested by: https://www.phoboscn.top/t/topic/395/8 |
Neither the design nor the implementation; sometimes setting a destination cannot override the original destination of the target unit. Even in the test of this early stage of repair, I encountered the above situation. In this fix, because inserting the check for |
This does not prohibit aircraft from taking off; the judgment only applies to VehicleTypes with In addition, through testing on the latest commit of the develop branch, it has been confirmed that currently |
07e7c9e to
79a2f80
Compare
|
Note Since 7333a45 is later than the last DevBuild version (48) before Pre-Release v0.5, the change to the flag required to apply the stillness effect to |
|
|
What about using |
Rather not overcomplicate this. If it were up to me I'd replace If one insists on making it different for JJ's then it obviously should be |
|
Since it's been some time, I've forgotten some of my thoughts at the time, only remember that due to some design factors, I needed to avoid |
Speed=0 prevents two cases
The movement caused by external factors such as a locomotor warhead.