Follow-up Comment #1, patch #2742 (project freeciv):

Unit turning to attack should be sent to everyone seeing it already before
the fight so it would face to right direction during the battle already.

Attached version of the patch accomplish this by modifying see_combat()
iteration to send unit inforation to those connections too who already see
it.
This has the benefit of everything happening in one iteration, but we may
want to have reusable turn_unit() function with its own connection iteration
instead. I'm a bit undecided.

(file #13323)
    _______________________________________________________

Additional Item Attachment:

File name: AttackerOrientation_2742-2.diff Size:4 KB


    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?2742>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


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

Reply via email to