Author: sveinung Date: Sun Sep 18 15:53:29 2016 New Revision: 33829 URL: http://svn.gna.org/viewcvs/freeciv?rev=33829&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: trunk/server/unittools.c Modified: trunk/server/unittools.c URL: http://svn.gna.org/viewcvs/freeciv/trunk/server/unittools.c?rev=33829&r1=33828&r2=33829&view=diff ============================================================================== --- trunk/server/unittools.c (original) +++ trunk/server/unittools.c Sun Sep 18 15:53:29 2016 @@ -3566,10 +3566,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