Opened 7 years ago

Last modified 5 years ago

#4457 new defect

When the bell is rung, units ejected from a destroyed building should garrison in another — at Version 2

Reported by: wraitii Owned by:
Priority: Should Have Milestone: Backlog
Component: Simulation Keywords:
Cc: Patch:

Description (last modified by elexis)

This is a little "bug" I found when fixing something for the unitMotion rewrite. If you ring the bell, then destroy a building units were garrisoned in, then those units stand there idle. They should instead try to find another place to go in. I believe the fault lies in GarrisonHolder, which calls "OrderWalkToRallypoint" when ejecting an entity instead of relying on the "leave" handler of UnitAI. If we used the leave handler of UnitAI, we could handle both cases more elegantly.

Change History (2)

comment:1 by Imarok, 7 years ago

Refs #4185

comment:2 by elexis, 7 years ago

Description: modified (diff)
Milestone: Alpha 22Backlog

Backlogging due to lack of progress

Note: See TracTickets for help on using tickets.