"Ein Bauer stirbt nicht"
- Fixed a rounding error.
This commit is contained in:
Enno Rehling 2008-02-03 15:04:03 +00:00
parent f168a45b2a
commit a7a0ddfbf7

View file

@ -515,7 +515,7 @@ peasants(region * r)
/* Es verhungert maximal die unterernährten Bevölkerung. */
n = min(peasants - satiated, rpeasants(r));
dead += (int)(n * PEASANT_STARVATION_CHANCE);
dead += (int)(0.5F + n * PEASANT_STARVATION_CHANCE);
if (dead > 0) {
message * msg = add_message(&r->msgs, msg_message("phunger", "dead", dead));