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,14 +763,16 @@ monster_learn(unit *u)
|
||||||
void
|
void
|
||||||
monsters_kill_peasants(unit * u)
|
monsters_kill_peasants(unit * u)
|
||||||
{
|
{
|
||||||
if (u->race->flags & RCF_SCAREPEASANTS) {
|
if (!is_waiting(u)) {
|
||||||
scared_by_monster(u);
|
if (u->race->flags & RCF_SCAREPEASANTS) {
|
||||||
}
|
scared_by_monster(u);
|
||||||
if (u->race->flags & RCF_KILLPEASANTS) {
|
}
|
||||||
eaten_by_monster(u);
|
if (u->race->flags & RCF_KILLPEASANTS) {
|
||||||
}
|
eaten_by_monster(u);
|
||||||
if (u->race->flags & RCF_ABSORBPEASANTS) {
|
}
|
||||||
absorbed_by_monster(u);
|
if (u->race->flags & RCF_ABSORBPEASANTS) {
|
||||||
|
absorbed_by_monster(u);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue