#46373: S3_1 rscompat rscompat_postprocess() 'peffect' assignment from EFT_MAPS_STOLEN_PCT a dead one Open Date: 2022-12-27 14:56 Last Update: 2022-12-27 14:56 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/46373 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=46373 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-12-27 14:56 Updated by: cazfi * New Ticket "S3_1 rscompat rscompat_postprocess() 'peffect' assignment from EFT_MAPS_STOLEN_PCT a dead one" created --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Bugs Status: Open Priority: 5 - Medium MileStone: 3.1.0-beta1 Component: Server Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: S3_1 (only that branch, as rscompat stuff is branch-specific) rscompat_postprocess() creates EFT_MAPS_STOLEN_PCT, and assigns results to 'peffect'. The creation call itself is needed, but the assignment is not - the call already registers the effect, and the returned pointer would only be needed for further modifications, which we don't have for that particular effect. -- 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/46373 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=46373