forbid manipulator editing ghosts

they are not flags1.dead
develop
sv-esk 2016-02-12 13:47:58 +02:00
parent 83c70ccb0f
commit d2450c34ff
1 changed files with 3 additions and 0 deletions

@ -1155,6 +1155,9 @@ viewscreen_unitlaborsst::viewscreen_unitlaborsst(vector<df::unit*> &src, int cur
if (unit->flags2.bits.visitor)
cur->allowEdit = false;
if (unit->flags3.bits.ghostly)
cur->allowEdit = false;
if (!ENUM_ATTR(profession, can_assign_labor, unit->profession))
cur->allowEdit = false;