All workers die, when warehouse/hq is destroyed
Bug #590631 reported by
Nasenbaer
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
High
|
Borim |
Bug Description
When a warehouse or headquarters gets destroyed, the workers inside are dying (seems only soldiers will survive).
This makes a loose of such a building *much* too hard. It should be like in Settlers 2, that the workers survive and try to find a way to the next warehouse.
Related branches
lp:~borim/widelands/bug590631
- Widelands Developers: Pending requested
-
Diff: 43 lines (+22/-0)2 files modifiedsrc/logic/warehouse.cc (+20/-0)
src/logic/warehouse.h (+2/-0)
Changed in widelands: | |
status: | New → Confirmed |
importance: | Undecided → High |
tags: | added: gameplay |
Changed in widelands: | |
milestone: | none → build17-rc1 |
Changed in widelands: | |
assignee: | nobody → Borim (borim) |
Changed in widelands: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
Actually, it is unincorporated workers that survive, which includes also workers that have experience.
I believe the solution should be to launch all workers in Warehouse: :destroy( ). Warehouse "explosions" FTW! ;)