<URL: http://bugs.freeciv.org/Ticket/Display.html?id=38029 >

"Per Inge Mathisen" <[EMAIL PROTECTED]> wrote:
>
><URL: http://bugs.freeciv.org/Ticket/Display.html?id=38029 >
>
>I was looking to test some experimental code, and needed to fix the
>generic_city_refresh() mess, where refreshing one city can lead to the
>side effects of units being changed and other cities being changed and
>refreshed in turn. Not to mention passing in a function point to send
>out network data. So I came up with the following patch that makes
>generic_city_refresh() entirely without side effects, and as long as
>it is called with different cities, it should also be re-entrant.

<snip>

    Good work!  The changes that you described should allow for
cleaner, clearer designs in the future too.  Thanks.

    It will be at least a few days before I can begin to test your
new code; first I have to do some reorganization and cleanup in my
Freeciv code repository.

-Eddie




_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to