forked from github/server
bauernblutverbrauch
This commit is contained in:
parent
3a9a58a391
commit
bcdcd556dd
|
@ -1163,6 +1163,7 @@ randomevents(void)
|
||||||
}
|
}
|
||||||
if (r->planep==0 || !fval(r->planep, PFL_NOFEED)) {
|
if (r->planep==0 || !fval(r->planep, PFL_NOFEED)) {
|
||||||
unfed = (u->number - bauernblut) - peasantfood;
|
unfed = (u->number - bauernblut) - peasantfood;
|
||||||
|
bauernblut = max(0, bauernblut-u->number);
|
||||||
if (unfed > 0) {
|
if (unfed > 0) {
|
||||||
#ifdef DAEMON_HUNGER
|
#ifdef DAEMON_HUNGER
|
||||||
hunger(u, unfed); /* nicht gefütterte dämonen hungern */
|
hunger(u, unfed); /* nicht gefütterte dämonen hungern */
|
||||||
|
|
Loading…
Reference in New Issue