Author: sveinung
Date: Sun Sep 18 15:58:23 2016
New Revision: 33831

URL: http://svn.gna.org/viewcvs/freeciv?rev=33831&view=rev
Log:
Remove redundant client unit update.

Stop sending a unit to its owner's client when it discovers that it may be
able to act against the city it just performed a non adjacent move to. The
full unit information will be sent later in unit_move().

See patch #7692

Modified:
    branches/S2_6/server/unittools.c

Modified: branches/S2_6/server/unittools.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/server/unittools.c?rev=33831&r1=33830&r2=33831&view=diff
==============================================================================
--- branches/S2_6/server/unittools.c    (original)
+++ branches/S2_6/server/unittools.c    Sun Sep 18 15:58:23 2016
@@ -3493,10 +3493,6 @@
 
     punit->action_decision_want = ACT_DEC_PASSIVE;
     punit->action_decision_tile = pdesttile;
-
-    /* Let the client know that this unit wants the player to decide
-     * what to do. */
-    send_unit_info(player_reply_dest(pplayer), punit);
   }
 
   /* Claim ownership of fortress? */


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

Reply via email to