Autolabor: exclude hauling labors from clawback

develop
Kelly Martin 2013-01-05 16:27:57 -06:00
parent c92da70fbc
commit 86c3c385bd
1 changed files with 2 additions and 0 deletions

@ -2062,6 +2062,8 @@ public:
{
if (l == df::unit_labor::NONE)
continue;
if (l >= df::unit_labor::HAUL_STONE && l <= df::unit_labor::HAUL_ANIMAL)
continue;
if (labor_infos[l].idle_dwarfs > 0 && labor_needed[l] > labor_infos[l].busy_dwarfs)
{
int clawback = labor_infos[l].busy_dwarfs;