<URL: http://bugs.freeciv.org/Ticket/Display.html?id=40070 >

get_city_bonus is passing in a NULL city.  This is allowed according to
the effects interface (undocumented of course) but because it calls
city_owner that function now segfaults on it.

I have no definite opinion on whether NULL targets are worthwhile for
get_xxx_bonus functions, but the function docs do need to specify.

-jason


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to