Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2000:
[Freeciv-Dev] Re: air unit goto broken (PR#435)
Home

[Freeciv-Dev] Re: air unit goto broken (PR#435)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: air unit goto broken (PR#435)
From: Kero van Gelder <kero@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 6 Jul 2000 00:06:57 +0200
Reply-to: kero@xxxxxx

> Full_Name: Jeff Mallatt
> Version: CVS
> Distribution: Built from source
> Client: Both (or N/A)
> OS: Linux
> Submission from: (NULL) (205.181.148.180)
> 
> 
> In some cases (I have a demo save-file) air/nuke units don't goto
> correctly:

Got one to.

> - They go to intermediate cities when the destination is already
>   within range (and, closer than the intermediate city).

typo in naive_air_can_move_between() -- in second/linear phase.
My error is fixed.
Patch attached.

> - They follow railraods!

Hmmm....
Can you test the patch against these?

Bye,
Kero.

+--- Kero --------------------------------- kero@xxxxxx ---+
|  Don't split your mentality without thinking twice       |
|                          Proud like a God -- Guano Apes  |
+--- M38c ------------------ http://huizen.dds.nl/~kero ---+

Attachment: PR435.diff
Description: Text document


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