forked from github/server
- #define PEASANTS_DO_NOT_STARVE 1
This commit is contained in:
parent
921add5ac1
commit
5c11911e67
|
@ -590,6 +590,7 @@ peasants(region * r)
|
||||||
|
|
||||||
/* Alle werden satt, oder halt soviele für die es auch Geld gibt */
|
/* Alle werden satt, oder halt soviele für die es auch Geld gibt */
|
||||||
|
|
||||||
|
#if PEASANTS_DO_NOT_STARVE == 0
|
||||||
money = rmoney(r);
|
money = rmoney(r);
|
||||||
satiated = min(peasants, money / MAINTENANCE);
|
satiated = min(peasants, money / MAINTENANCE);
|
||||||
rsetmoney(r, money - satiated * MAINTENANCE);
|
rsetmoney(r, money - satiated * MAINTENANCE);
|
||||||
|
@ -610,6 +611,8 @@ peasants(region * r)
|
||||||
msg_release(msg);
|
msg_release(msg);
|
||||||
peasants -= dead;
|
peasants -= dead;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
rsetpeasants(r, peasants);
|
rsetpeasants(r, peasants);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -27,3 +27,4 @@
|
||||||
#define PEASANT_ADJUSTMENT 1
|
#define PEASANT_ADJUSTMENT 1
|
||||||
#define SKILLPOINTS 0
|
#define SKILLPOINTS 0
|
||||||
#define NEW_MIGRATION 1
|
#define NEW_MIGRATION 1
|
||||||
|
#define PEASANTS_DO_NOT_STARVE 1
|
||||||
|
|
Loading…
Reference in New Issue