#42865: Macrofy client_player() Open Date: 2021-09-16 05:44 Last Update: 2021-09-27 05:19 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-27 05:19 Updated by: cazfi * Status Update from Open to Closed * Owner Update from (None) to cazfi * Resolution Update from Accepted to Fixed --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: cazfi Type: Patches Status: Closed Priority: 5 - Medium MileStone: 2.6.6 Component: Client common Severity: 5 - Medium Resolution: Fixed --------------------------------------------------------------------- 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