Skip to content

Commit f076d00

Browse files
committed
dead flag -> !isActive
1 parent b38dfe2 commit f076d00

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/manipulator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1157,7 +1157,7 @@ viewscreen_unitlaborsst::viewscreen_unitlaborsst(vector<df::unit*> &src, int cur
11571157
if (!Units::isOwnGroup(unit))
11581158
cur->allowEdit = false;
11591159

1160-
if (unit->flags1.bits.dead)
1160+
if (!Units::isActive(unit))
11611161
cur->allowEdit = false;
11621162

11631163
if (unit->flags2.bits.visitor)

0 commit comments

Comments
 (0)