dead flag -> !isActive

develop
PatrikLundell 2018-06-14 12:32:38 +02:00
parent b38dfe2e43
commit f076d00ede
1 changed files with 1 additions and 1 deletions

@ -1157,7 +1157,7 @@ viewscreen_unitlaborsst::viewscreen_unitlaborsst(vector<df::unit*> &src, int cur
if (!Units::isOwnGroup(unit))
cur->allowEdit = false;
if (unit->flags1.bits.dead)
if (!Units::isActive(unit))
cur->allowEdit = false;
if (unit->flags2.bits.visitor)