Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2001:
[Freeciv-Dev] goto from Trieme with Lighthouse (PR#915)

[Freeciv-Dev] goto from Trieme with Lighthouse (PR#915)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] goto from Trieme with Lighthouse (PR#915)
From: ue80@xxxxxxxxxxxxxxxxxxx
Date: Mon, 27 Aug 2001 06:45:25 -0700 (PDT)

Full_Name: Thomas Strub
Version: 1.12.0
Distribution: Built from source
Client: Gtk+
OS: Linux 2.4.7
Submission from: (NULL) (

When using the client goto-function for a Trieme when Ligthhouse i build and is
useful. The goto-Function don't care about the 0% chance that triemes sink.

line 394 from  client/goto.c
        } else if (unit_flag(punit->type, F_TRIREME) && (0
!=trireme_loss_pct(&punit->owner, x1, y1)) && !is_coastline(x1, y1)) {

the same in server/gotohand.c 
Line 774
        else if (unit_flag(punit->type, F_TRIREME) && 
x1, y1) && !is_coastline(x1, y1)) {

same file Line 1035
but i don't know how that line works ...

Thomas Strub. 

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