forked from github/server
Bug 2637: Monster sollen sich nicht parteitarnen.
This commit is contained in:
parent
950a7b7f9c
commit
095e3d39ce
|
@ -44,6 +44,7 @@
|
||||||
|
|
||||||
/* attributes includes */
|
/* attributes includes */
|
||||||
#include <attributes/targetregion.h>
|
#include <attributes/targetregion.h>
|
||||||
|
#include <attributes/otherfaction.h>
|
||||||
#include <attributes/hate.h>
|
#include <attributes/hate.h>
|
||||||
|
|
||||||
#include <spells/regioncurse.h>
|
#include <spells/regioncurse.h>
|
||||||
|
@ -772,6 +773,7 @@ void plan_monsters(faction * f)
|
||||||
if (fval(u, UFL_ANON_FACTION)) {
|
if (fval(u, UFL_ANON_FACTION)) {
|
||||||
u->flags &= ~UFL_ANON_FACTION;
|
u->flags &= ~UFL_ANON_FACTION;
|
||||||
}
|
}
|
||||||
|
a_removeall(&u->attribs, &at_otherfaction);
|
||||||
|
|
||||||
if (rc->splitsize < 10) {
|
if (rc->splitsize < 10) {
|
||||||
/* hermit-type monsters eat each other */
|
/* hermit-type monsters eat each other */
|
||||||
|
|
Loading…
Reference in New Issue