Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2002:
[Freeciv-Dev] patch: port attacks!
Home

[Freeciv-Dev] patch: port attacks!

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] patch: port attacks!
From: "Per I. Mathisen" <Per.Inge.Mathisen@xxxxxxxxxxx>
Date: Tue, 12 Mar 2002 13:31:31 +0100 (MET)

On Tue, 12 Mar 2002, Raahul Kumar wrote:
> > No_Land_Attack means no attacks against any target on land. If you use
> > this on an aircraft, it would not be able to attack enemy aircraft _as
> > long as they are over dry land_. Well, you _could_ make a torpedo bomber
> > using this, though... but it could not attack ships inside cities...
> > I'll clarify the comment.
> >
> > But why can't subs (and other hypothetical units with No_Land_Attack)
> > attack ships in cities? I think this should be changed.  Should I add a
> > FIXME?
> >
>
> Yes, I think so. Per, this is another in the category of "Why didn't I think
> of that?"

The attached patch fixes this. Now subs can do port attacks! Lots of fun!
It is tested and it works as expected. Please take it for a ride and tell
the list if it works, so that it can go in, please :)

Yours,
Per

"My mother never saw the irony in calling me a son-of-a-bitch."
 -- Jack Nicholson

Attachment: portattacks.patch
Description: Text document


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