forked from github/server
[E-Bugs] Drachen fressen beim Einflug in eine Region Bauern.
- now checking for is_waiting.
This commit is contained in:
parent
ae41442b01
commit
00078cbedf
1 changed files with 10 additions and 8 deletions
|
@ -763,6 +763,7 @@ monster_learn(unit *u)
|
||||||
void
|
void
|
||||||
monsters_kill_peasants(unit * u)
|
monsters_kill_peasants(unit * u)
|
||||||
{
|
{
|
||||||
|
if (!is_waiting(u)) {
|
||||||
if (u->race->flags & RCF_SCAREPEASANTS) {
|
if (u->race->flags & RCF_SCAREPEASANTS) {
|
||||||
scared_by_monster(u);
|
scared_by_monster(u);
|
||||||
}
|
}
|
||||||
|
@ -773,6 +774,7 @@ monsters_kill_peasants(unit * u)
|
||||||
absorbed_by_monster(u);
|
absorbed_by_monster(u);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
static boolean
|
static boolean
|
||||||
check_overpopulated(unit *u)
|
check_overpopulated(unit *u)
|
||||||
|
|
Loading…
Reference in a new issue