Builder gets "lost" after dismantling site
Bug #1144465 reported by
Kiscsirke
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Tested with rev 6526. After a builder finished dismantling a building, he is "lost", like a worker whose home was just destroyed, he wonders around a bit until he finds a flag, and only goes home after. He takes the last building material to the flag, goes back to the dismantle site and as soon as he gets there it disappears and he is "lost".
Expected behaviour: When taking the last building material back to the flag, he should just go home to the warehouse.
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: | |
assignee: | nobody → Nicolai Hähnle (nha) |
Changed in widelands: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
Great catch. I was under the impression that workers had behaved as expected earlier, and they do not become lost in build 17. Not sure how recently this regressed or what triggered it though...