Complete.Org: Mailing Lists: Archives: freeciv-ai: May 2004:
[freeciv-ai] Re: (PR#8740) segmentation fault in ai_hunter_findjob
Home

[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]
To: vasc@xxxxxxxxxxxxxx
Subject: [freeciv-ai] Re: (PR#8740) segmentation fault in ai_hunter_findjob
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 15 May 2004 12:17:16 -0700
Reply-to: rt@xxxxxxxxxxx

<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




[Prev in Thread] Current Thread [Next in Thread]