Update of patch #4912 (project freeciv):

                Category:                    None => general                
                  Status:                    None => Ready For Test         
             Assigned to:                    None => pepeto                 
         Planned Release:                         => 2.5.0, 2.6.0           


Follow-up Comment #1:

I found the probable cause of these messages. It is linked to an obsolete part
of send_unit_info_to_onlookers(). It is reproducible any times a foreigner
unit moves to a transport.

The attached patch simplify send_unit_info_to_onlookers() and use
send_unit_info() in more places.

Two other related problems are also fixed:
* can_player_see_unit_at() now take correctly in account if the unit would be
transported or not ;
* move_unit() send unit info when unloading, to allow other players to really
see the move.

(file #21468, file #21469)

Additional Item Attachment:

File name: trunk_send_unit_info_to_onlookers.patch Size:14 KB
File name: S2_5_send_unit_info_to_onlookers.patch Size:13 KB


Reply to this item at:


  Message posté via/par Gna!

Freeciv-dev mailing list

Reply via email to