From d2450c34ff3b163c596d83fec1206f249459a56b Mon Sep 17 00:00:00 2001 From: sv-esk Date: Fri, 12 Feb 2016 13:47:58 +0200 Subject: [PATCH] forbid manipulator editing ghosts they are not flags1.dead --- plugins/manipulator.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/manipulator.cpp b/plugins/manipulator.cpp index ae21080eb..7c86b6f7d 100644 --- a/plugins/manipulator.cpp +++ b/plugins/manipulator.cpp @@ -1155,6 +1155,9 @@ viewscreen_unitlaborsst::viewscreen_unitlaborsst(vector &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;