Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2004:
[Freeciv-Dev] Re: (PR#6972) Wishlist: units lost on arctic
Home

[Freeciv-Dev] Re: (PR#6972) Wishlist: units lost on arctic

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: mburda@xxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#6972) Wishlist: units lost on arctic
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 15 May 2004 11:11:54 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=6972 >

Jason Short wrote:
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=6972 >
> 
> Marcelo Burda wrote:
> 
> 
>>Yupi! i find it, it was a bug in pf code. i hate pf!
>>@@ -844,7 +844,7 @@
>> 
>>       /* Is the move ZOC-ok? */
>>       if (pf_map->params->get_zoc
>>-       && !(node->zoc_number > 1 || node1->zoc_number > 2)) {
>>+       && !(node->zoc_number > 1 || node1->zoc_number > 0)) {
>>      continue;
>>       }
>>this never was executed, gound unit neve has is_pos_dangerous defined
>>befor my patch!
> 
> 
> In what way is this code wrong?  ZOC does work for ground units in PF.

Nevermind.  I agree the current code is buggy.

jason




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