diff --git a/src/monsters.c b/src/monsters.c index 08b65ce3a..cd6efc558 100644 --- a/src/monsters.c +++ b/src/monsters.c @@ -44,6 +44,7 @@ /* attributes includes */ #include +#include #include #include @@ -772,6 +773,7 @@ void plan_monsters(faction * f) if (fval(u, UFL_ANON_FACTION)) { u->flags &= ~UFL_ANON_FACTION; } + a_removeall(&u->attribs, &at_otherfaction); if (rc->splitsize < 10) { /* hermit-type monsters eat each other */