Bug 2637: Monster sollen sich nicht parteitarnen.

This commit is contained in:
Enno Rehling 2020-02-09 15:24:36 +01:00
parent 950a7b7f9c
commit 095e3d39ce
1 changed files with 2 additions and 0 deletions

View File

@ -44,6 +44,7 @@
/* attributes includes */
#include <attributes/targetregion.h>
#include <attributes/otherfaction.h>
#include <attributes/hate.h>
#include <spells/regioncurse.h>
@ -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 */