- 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; bfind = true;
} }
if (r->planep==0 || !fval(r->planep, PFL_NOFEED)) { if (r->planep == NULL || !fval(r->planep, PFL_NOFEED)) {
int demons = u->number; int demons = u->number;
if (bauernblut>=demons) { if (bauernblut>=demons) {
bauernblut -= demons; bauernblut -= demons;
@ -1172,7 +1172,8 @@ randomevents(void)
peasantfood -= demons; peasantfood -= demons;
demons = 0; demons = 0;
} else { } else {
demons-=peasantfood; demons -= peasantfood;
peasantfood = 0;
} }
if (demons > 0) { if (demons > 0) {
#ifdef DAEMON_HUNGER #ifdef DAEMON_HUNGER