[E-Bugs] Drachen fressen beim Einflug in eine Region Bauern.

- now checking for is_waiting.
This commit is contained in:
Enno Rehling 2006-09-03 11:43:52 +00:00
parent ae41442b01
commit 00078cbedf

View file

@ -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);
}
} }
} }