[Freeciv-Dev] Re: [PATCH]refactor server/cityturn.c:city_build_stuff (PR
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Yes, the diff tries to be too clever, and thus does not make things very clear.
I lifted the code for city_build_stuff and put it into three functions,
corresponding to the (hidden) flow of city_build_stuff:
distribute surplus shields
if building
build building
if unit
build unit
If you apply the diff, all should become clear. If it helps, I can send the
changed section, which just replaces city_build_stuff...
Arien
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
|
|