#42865: Macrofy client_player() Open Date: 2021-09-16 05:44 Last Update: 2021-09-16 05:50 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/42865 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=42865 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2021-09-16 05:50 Updated by: cazfi * Resolution Update from None to Accepted --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Patches Status: Open Priority: 5 - Medium MileStone: 3.1.0 Component: Client common Severity: 5 - Medium Resolution: Accepted --------------------------------------------------------------------- Ticket details: Future tickets should replace most direct client.conn.playing with proper use of client_player(). With the client_player() implemented as a function that would mean adding function call overhead to a lot of places. To avoid that, let's turn client_player() to a macro in this ticket. -- 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/42865 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=42865