[Freeciv-Dev] Re: (PR#15408) ai_select_tech can return A_UNSET in choice
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=15408 >
Mike Kaufman wrote:
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=15408 >
>
> this will cause an assert in get_invention. This will happen if all the
> ai.tech_wants happen to be negative. There needs to be a check in
> ai_select_tech for this eventuality and fill choice with a safe value (like
> the current choice).
THe current choice can probably be unset...
- [Freeciv-Dev] Re: (PR#15408) ai_select_tech can return A_UNSET in choice,
Jason Short <=
|
|