Soldiers in stopped trainings site get exchanged
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Won't Fix
|
Low
|
Unassigned |
Bug Description
Sometimes, soldiers in a stopped (barbarian) training camp are endlessly replaced with soldiers in the warehouse. I have no real idea how to trigger this bug(?), though. In my test game I trained the soldiers in evasion and build a paused training camp equipped with helmets.
After some time* the camp starts to replace its soldiers. The trainer seems to prefer kicking out partially trained soldiers, if none are present untrained soldiers are kicked. This can be observed in the attached save game.
Observed in bzr8237[trunk].
For reference: Tino noticed this effect in a test game of the casern branch and reported it here:
https:/
* To be exact, it happened after I saved the game. But that is most likely unrelated, since saving wasn't required to trigger the effect in the casern branch.
tags: | added: economy military |
Changed in widelands: | |
milestone: | none → build20-rc1 |
Changed in widelands: | |
milestone: | build20-rc1 → build21-rc1 |
I did not think of stopped buildings while implementing the soldier exchange -> genuine bug.