dead flag -> !isActive

develop
PatrikLundell 2018-06-14 12:29:48 +02:00
parent 897a818f4c
commit 6901c53bd5
1 changed files with 2 additions and 2 deletions

@ -482,9 +482,9 @@ static void printCompanionHeader(color_ostream &out, size_t i, df::unit *unit)
out << i; out << i;
out << ": " << getUnitNameProfession(unit); out << ": " << getUnitNameProfession(unit);
if (unit->flags2.bits.killed) if (Units::isDead(unit))
out << " (DEAD)"; out << " (DEAD)";
if (unit->flags3.bits.ghostly) if (Units::isGhost(unit))
out << " (GHOST)"; out << " (GHOST)";
out << endl; out << endl;