[Freeciv-Dev] (PR#4766) city happiness isn't calculated on game load
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
[jdorje - Wed Aug 6 07:46:02 2003]:
> Jason Short wrote:
>
> > But update_dumb_city() calls city_happy and city_unhappy, which don't
> > work at this point since happiness hasn't been calculated.
>
> Here's a patch. It is largely untested.
This variant is better - we load all player cities then refresh them,
one by one. This seems like the correct thing to do, and prevents
comparison errors when loading games.
jason
generic_city_refresh-2.diff
Description: generic_city_refresh-2.diff
- [Freeciv-Dev] (PR#4766) city happiness isn't calculated on game load,
Jason Short <=
|
|