Project

General

Profile

Feature #619 ยป 0003-Pass-destination-city-to-Trade_Revenue_Bonus-effects.patch

main - Alina Lenk, 05/15/2024 07:41 PM

View differences:

common/traderoutes.c
pgood can be NULL for ignoring good's onetime_pct.
*************************************************************************/
int get_caravan_enter_city_trade_bonus(const struct city *pc1,
int get_caravan_enter_city_trade_bonus(const struct city *pc1,
const struct city *pc2,
const struct unit_type *ut,
struct goods_type *pgood,
......
},
&(const struct req_context) {
.player = city_owner(pc2),
.city = pc2,
.tile = city_tile(pc2),
},
EFT_TRADE_REVENUE_BONUS);
    (1-1/1)