From f076d00ede77b810408b7c861d75e471e7af8bb4 Mon Sep 17 00:00:00 2001 From: PatrikLundell Date: Thu, 14 Jun 2018 12:32:38 +0200 Subject: [PATCH] dead flag -> !isActive --- plugins/manipulator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/manipulator.cpp b/plugins/manipulator.cpp index 5dab2ab09..db560fa76 100644 --- a/plugins/manipulator.cpp +++ b/plugins/manipulator.cpp @@ -1157,7 +1157,7 @@ viewscreen_unitlaborsst::viewscreen_unitlaborsst(vector &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)