forked from github/server
- Minifix Bauernfuttern durch Dämonen.
This commit is contained in:
parent
fc87bc0aec
commit
eb214fee16
|
@ -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;
|
||||||
|
@ -1173,6 +1173,7 @@ randomevents(void)
|
||||||
demons = 0;
|
demons = 0;
|
||||||
} else {
|
} else {
|
||||||
demons -= peasantfood;
|
demons -= peasantfood;
|
||||||
|
peasantfood = 0;
|
||||||
}
|
}
|
||||||
if (demons > 0) {
|
if (demons > 0) {
|
||||||
#ifdef DAEMON_HUNGER
|
#ifdef DAEMON_HUNGER
|
||||||
|
|
Loading…
Reference in New Issue