soldier "lost" if the building he is returning to has been destroyed
Bug #923702 reported by
Angelo Locritani
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Low
|
Unassigned |
Bug Description
similar to bug 902558.
If the building to which a soldier belong is destroyed (by the enemy attack, for example) the soldier became "fugitive" and will take lot of time (if ever) to return in my territory.
I've seen this thing but no savegame, at the moment. I could try to reproduce the situation and provide a savegame, if needed.
Related branches
lp:~widelands-dev/widelands/compass
- SirVer: Needs Fixing
-
Diff: 291 lines (+141/-40)3 files modifiedsrc/logic/dismantlesite.cc (+7/-1)
src/logic/soldier.cc (+115/-31)
src/logic/worker.cc (+19/-8)
Changed in widelands: | |
status: | Confirmed → In Progress |
milestone: | none → build18-rc1 |
Changed in widelands: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
I kinda like this behaviour: after all, the soldier is far from home. If
he is fugitive for a long time he should die like every other worker in
my opinion. +1 for keeping as is.
status incomplete