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

 $subject


 - ML

diff -Nurd -X.diff_ignore freeciv/server/diplhand.c freeciv/server/diplhand.c
--- freeciv/server/diplhand.c	2007-08-04 18:36:24.000000000 +0300
+++ freeciv/server/diplhand.c	2007-08-10 20:44:45.000000000 +0300
@@ -391,12 +391,16 @@
 	notify_player(pdest, NULL, E_DIPLOMACY,
 		      _("You receive %s's worldmap."),
 		      pgiver->name);
+
+	check_city_workers(pdest); /* See CLAUSE_VISION */
 	break;
       case CLAUSE_SEAMAP:
 	give_seamap_from_player_to_player(pgiver, pdest);
 	notify_player(pdest, NULL, E_DIPLOMACY,
 		      _("You receive %s's seamap."),
 		      pgiver->name);
+
+	check_city_workers(pdest); /* See CLAUSE_VISION */
 	break;
       case CLAUSE_CITY:
 	{
@@ -495,6 +499,10 @@
 	notify_player(pdest, NULL, E_TREATY_SHARED_VISION,
 			 _("%s gives you shared vision."),
 			 pgiver->name);
+
+        /* Yes, shared vision may let us to _know_ tiles
+         * within radius of our own city. */
+	check_city_workers(pdest);
 	break;
       case CLAUSE_LAST:
         freelog(LOG_ERROR, "Received bad clause type");
_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to