Opened 13 years ago
Closed 13 years ago
#859 closed defect (fixed)
[PATCH] Control groups don't recognise promotions
Reported by: | Philip Taylor | Owned by: | |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 7 |
Component: | Core engine | Keywords: | simple, patch |
Cc: | Patch: |
Description
When a unit gets promoted after collecting enough XP, it gets dropped from any control groups it was assigned to. Probably need to have EntityGroupsContainer
do something a bit like EntitySelection.prototype.checkRenamedEntities
does to update after entity renamings (though it might need a little refactoring so the same rename list is passed to both classes that need it).
Attachments (1)
Change History (8)
comment:1 by , 13 years ago
Milestone: | Alpha 6 → Alpha 7 |
---|
by , 13 years ago
comment:2 by , 13 years ago
Keywords: | review added |
---|
comment:3 by , 13 years ago
Summary: | Control groups don't recognise promotions → [PATCH] Control groups don't recognise promotions |
---|
comment:4 by , 13 years ago
Keywords: | patch added |
---|
comment:5 by , 13 years ago
Keywords: | review removed |
---|
comment:6 by , 13 years ago
how about duplicating GetRenamedEntities
and make it a GetNotClearRenamedEntities
that can be used in this patch? sorry if this is unqualified.
comment:7 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
From IRC when the patch was uploaded: