diff --git a/src/common/kernel/eressea.c b/src/common/kernel/eressea.c index fc8460b55..ccf7f6b42 100644 --- a/src/common/kernel/eressea.c +++ b/src/common/kernel/eressea.c @@ -2551,7 +2551,7 @@ remove_empty_units_in_region(region *r) } } if ((u->number == 0 && u->race != new_race[RC_SPELL]) || (u->age <= 0 && u->race == new_race[RC_SPELL])) { - if (F!=NULL) destroy_unit(u); + if (u->faction!=NULL) destroy_unit(u); if (u->number==0) remove_unit(u); } if (*up==u) up=&u->next;