<URL: http://bugs.freeciv.org/Ticket/Display.html?id=40316 >
> [EMAIL PROTECTED] - Fr 25. Jul 2008, 16:12:11]: > It seems to me that problem has to be > in server side sending such information in the first place. Something > wrong with send_tile_info()? Thanks for the hint. The same I did on the client side can also be done in this function on the server, see the attached patch.
diff -Nur -X.diff_ignore trunk/server/maphand.c changed/server/maphand.c --- trunk/server/maphand.c 2008-07-24 23:03:15.000000000 +0200 +++ changed/server/maphand.c 2008-07-25 23:50:56.000000000 +0200 @@ -412,7 +412,9 @@ info.owner = (NULL != tile_owner(ptile)) ? player_number(tile_owner(ptile)) : MAP_TILE_OWNER_NULL; - info.worked = IDENTITY_NUMBER_ZERO; + info.worked = (NULL != tile_city(ptile)) + ? tile_worked(ptile)->id + : IDENTITY_NUMBER_ZERO; info.terrain = (NULL != plrtile->terrain) ? terrain_number(plrtile->terrain)
_______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev