diff --git a/library/modules/Units.cpp b/library/modules/Units.cpp index 83b7a9283..e8c7cfa88 100644 --- a/library/modules/Units.cpp +++ b/library/modules/Units.cpp @@ -1572,7 +1572,7 @@ bool Units::isGhost(df::unit *unit) { CHECK_NULL_POINTER(unit); - return !unit->flags3.bits.ghostly; + return unit->flags3.bits.ghostly; } bool Units::isActive(df::unit *unit)