Advertising

In this case, the traceback clearly shows the NULL city:
city_owner (pcity=0x0) at city.c:654
That's properly failing checks added by PR#39998 and PR#39895 respectively:
assert(NULL != pcity && NULL != pcity->owner);
But for the record, and as a reminder to myself, this assert should probably
be split into two lines for better traceback indication.
_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev