[Freeciv-tickets] [freeciv] #45877: Factor unit_move_data construction from unit_move()

Back to archive index
OSDN Ticket System norep****@osdn*****
Sun Oct 16 06:35:06 JST 2022


#45877: Factor unit_move_data construction from unit_move()

  Open Date: 2022-10-16 00:26
Last Update: 2022-10-16 00:35

URL for this Ticket:
    https://osdn.net//projects/freeciv/ticket/45877
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45877

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2022-10-16 00:35 Updated by: cazfi

Comment:

Also have to move out side effect of unit_data() that it actually does the move. Even when we want to collect the data earlier, we don't want unit location to be changed at the same time.

---------------------------------------------------------------------
Ticket Status:

      Reporter: cazfi
         Owner: (None)
          Type: Patches
        Status: Open
      Priority: 5 - Medium
     MileStone: 3.0.5
     Component: Server
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

To be able to resolve things like https://www.hostedredmine.com/issues/736060 we need to be able to construct the unit_move_data before calling unit_move(). First step is to refactor it out from unit_move() to a separate function. Targeting to S3_0 because dependency to fixing bug mentioned earlier.

-- 
Ticket information of Freeciv project
Freeciv Project is hosted on OSDN

Project URL: https://osdn.net/projects/freeciv/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/freeciv/ticket/45877
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45877



More information about the Freeciv-tickets mailing list
Back to archive index