- Minifix Bauernfuttern durch Dämonen.

This commit is contained in:
Christian Schlittchen 2002-10-27 09:15:49 +00:00
parent fc87bc0aec
commit eb214fee16
1 changed files with 3 additions and 2 deletions

View File

@ -1160,7 +1160,7 @@ randomevents(void)
}
bfind = true;
}
if (r->planep==0 || !fval(r->planep, PFL_NOFEED)) {
if (r->planep == NULL || !fval(r->planep, PFL_NOFEED)) {
int demons = u->number;
if (bauernblut>=demons) {
bauernblut -= demons;
@ -1173,6 +1173,7 @@ randomevents(void)
demons = 0;
} else {
demons -= peasantfood;
peasantfood = 0;
}
if (demons > 0) {
#ifdef DAEMON_HUNGER