[freeciv-ai] Re: (PR#8740) segmentation fault in ai_hunter_findjob
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=8740 >
Per Inge Mathisen wrote:
> + UNIT_LOG(LOGLEVEL_HUNT, punit, "giving up racing %s (%d, %d)->(%d,
> %d)",
> + unit_type(target)->name,
> + target->ai.prev_pos ? target->ai.prev_pos->x : 0,
> + target->ai.prev_pos ? target->ai.prev_pos->y : 0,
> + target->x, target->y);
Should use (-1,-1).
jason
|
|