Follow-up Comment #5, bug #15373 (project freeciv): Another issue found while investigating bug #15422: get_trade_illness() has the following code:
if (trade_city != NULL && trade_city->turn_plague != -1 && trade_city->turn_plague - game.info.turn < 5) { /* ... call in sick ... */ } This will always trigger once turn_plague is set for a city, as trade_city->turn_plague <= game.info.turn, so the result of the subtraction will be negative. So, once a city has had the plague, it will be infectious forever, I think. I assume the intention is that a city remains contagious only for about 5 turns; swapping the condition will give that result. _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?15373> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev