Complete.Org:
Mailing Lists:
Archives:
freeciv-dev:
February 2001: [Freeciv-Dev] [PATCH] empire size penalty fix |
[Freeciv-Dev] [PATCH] empire size penalty fix[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Looking more closely, I found the calculation of the empire size penalty is wrong when empire_size_inc>0. The second penalty should come at (basis + step + 1) cities, not (basis + step). For example, if cityfactor=14, basis would be 13 under Republic. And suppose empire_size_inc=2. Then the first penalty comes at 14 cities, and the next should be at 16 cities, not 15 as the code was written. In the case where empire_size_inc=1, you would get double penalty for going over the limit the first time, and that's wrong. This tiny patch fixes this problem. Please apply. Thanks. Mike _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com
empire_size_penalty_fix.diff
|