#4787 closed defect (fixed)
Disconnected territory considered rooted after capturing
Reported by: | elexis | Owned by: | temple |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 23 |
Component: | UI & Simulation | Keywords: | |
Cc: | Patch: | Phab:D1225 |
Description
In this replay, borg- captured a barracks from Liberty at minute 13:30. The territory didn't blink and borg- was able to build a tower in that disconnected territory.
refs #3526
Attachments (1)
Change History (8)
by , 7 years ago
Attachment: | commands.txt added |
---|
comment:1 by , 7 years ago
It was the fields that did it.
It's the same problem I described in the fourth point of #4749. There isn't a check for building owner == tile owner (in IsConnected() of TerritoryDecay.js), so while borg's barracks correctly says this territory isn't adjacent to a mutual ally so it should blink, each of Liberty's two fields say this territory is adjacent to a mutual ally so it shouldn't blink. Since the fields were built after the barracks, their "don't blink" order wins.
comment:3 by , 7 years ago
Milestone: | Backlog → Alpha 23 |
---|
Someone should check wheather it was fixed by r20268.
comment:4 by , 7 years ago
Milestone: | Alpha 23 → Backlog |
---|
Guess it isn't fixed by that commit since it wasn't a missing update but a unintentional computation result.
comment:5 by , 6 years ago
Milestone: | Backlog → Work In Progress |
---|---|
Patch: | → Phab:D1225 |
comment:7 by , 6 years ago
Milestone: | Work In Progress → Alpha 23 |
---|
Thanks mapkoc for providing the replay.