#42641: AI: don't double marketplace bonus when not needed Open Date: 2021-07-19 01:47 Last Update: 2021-07-20 22:23 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/42641 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=42641 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2021-07-20 22:23 Updated by: ihnatus Comment: Patch goes for all branches over #42518 patch. --------------------------------------------------------------------- Ticket Status: Reporter: ihnatus Owner: (None) Type: Bugs Status: Open Priority: 5 - Medium MileStone: 2.6.6 Component: AI Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: In windfall_ benefit() in common/aicore/caravan.c, bonus is always multiplied at 2; it should be only if the bonus of trade between cities is TBONUS_BOTH mode. -- 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/42641 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=42641