[Freeciv-Dev] Re: (PR#6298) civserver: city.c:895: can_establish_trade_r
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Cameron Morland wrote:
>[cameron - Fri Sep 26 17:50:58 2003]:
>
>
>
>>I get the assertion
>>
>>civserver: city.c:895: can_establish_trade_route: Assertion
>>`can_cities_trade(pc1, pc2)' failed
>>
>>
>
>can_establist_trade_route() assumes that we've already checked
>can_cities_trade(), and asserts as much. So, we need to check that if we
>haven't already.
>
>
>
I really don't understand this behviour. Why can_establish_trade_route
can't return FALSE instead of dying when can_cities_trade failed?
Remi
|
|