Follow-up Comment #1, bug #23614 (project freeciv):

I've seen this too.

I'm guessing it's due to sg_load_player_city() calling city_illness_calc()
calling get_trade_illness() before all cities have been loaded, and an unlucky
forward-referencing trade route. (Certainly trade_city is NULL in my
backtrace.)

S2_5 can't crash this way as trade_city is checked for NULL in
trade_routes_iterate(). However, it presumably has the bug that illness can be
calculated incorrectly.

Looks like city_illness_calc() needs to be called much later in the loading
process.

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?23614>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to