Switch buildings to idle/unoccupied animation when a worker is kicked out
Bug #1699776 reported by
GunChleoc
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Won't Fix
|
Low
|
Unassigned |
Bug Description
When I dismiss a building´s worker while the building is working, the working animation is played in an endless loop until the building is occupied again. This looks very strange if the building remains empty for a long time.
Related branches
lp://staging/~widelands-dev/widelands/productionsite-bugs
- GunChleoc: Approve
- Toni Förster: Approve
-
Diff: 268 lines (+64/-22)6 files modifiedsrc/logic/map_objects/tribes/building.h (+2/-2)
src/logic/map_objects/tribes/production_program.cc (+5/-5)
src/logic/map_objects/tribes/productionsite.cc (+36/-13)
src/logic/map_objects/tribes/productionsite.h (+2/-0)
src/logic/map_objects/tribes/worker.cc (+8/-1)
src/map_io/map_buildingdata_packet.cc (+11/-1)
Changed in widelands: | |
milestone: | build20-rc1 → build21-rc1 |
Changed in widelands: | |
assignee: | nobody → Benedikt Straub (nordfriese) |
status: | New → In Progress |
Changed in widelands: | |
assignee: | Benedikt Straub (nordfriese) → nobody |
status: | In Progress → Fix Committed |
To post a comment you must log in.
Migrated to https:/ /github. com/widelands/ widelands/ issues/ 1682