<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.


Freeciv-dev mailing list

Reply via email to