]> git.pond.sub.org Git - empserver/commit - src/lib/common/res_pop.c
(max_population): Deal gracefully with big city 10 * d_maxpop >
authorMarkus Armbruster <armbru@pond.sub.org>
Tue, 13 Jun 2006 17:46:04 +0000 (17:46 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Tue, 13 Jun 2006 17:46:04 +0000 (17:46 +0000)
commitbe430d4b9de69588c4bcbdf87fe12023129adb38
tree09628a3bbafa89e861aaf3a8e9f6c3f6bc52effc
parentd22cb495bcff550f9f98dc47d4d1bb423dae3974
(max_population): Deal gracefully with big city 10 * d_maxpop >
ITEM_MAX: let value grow linearly from d_maxpop at 0% to the minimum
of 10 * d_maxpop and ITEM_MAX at 100%.
src/lib/common/res_pop.c