Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2003:
[Freeciv-Dev] Re: (PR#4196) Enemies in allied transport assert.
Home

[Freeciv-Dev] Re: (PR#4196) Enemies in allied transport assert.

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Gregory.Berkolaiko@xxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#4196) Enemies in allied transport assert.
From: "Raahul Kumar" <raahul_da_man@xxxxxxxxx>
Date: Sat, 10 May 2003 04:03:32 -0700
Reply-to: rt@xxxxxxxxxxxxxx


--- "Per I. Mathisen" <per@xxxxxxxxxxx> wrote:
> 
> On Fri, 9 May 2003, Per I. Mathisen wrote:
> > > > > Also it would be helpful if you can tell me what happens when
> something not Fighter) attacks a tile with a Bomber and fortified tank.
> > > >
> > > > It is not allowed. The check to can_unit_attack_unit_on_tile() fails.
> > >
> > > The check is only on the chief defender. But what if the tank is
> > > selected as the defender?
> >
> > The bomber is always the best defender, since it cannot be attacked and
> > hence cannot be defeated.
> 
> Uh-huh. This is what should have been done, I guess. But from reading the
> source again, I don't think this is is what actually happens. It seems we
> would attack the tank, and if we won, kill the Bomber too...
> 
> This is a bug, since whether or not we can attack the tile becomes
> arbitrary, dependent on how strong the bomber is relative to the attacker.
> 
>   - Per

Very good point Per. I wish I had thought of this when pitching the layers
patch.

Aloha,
RK.

Knee-jerk liberals and all the certified saints of sanctified humanism are
quick to condemn this great and much-maligned Transylvanian statesman. -William
F. Buckley, Jr. "The Wit and Wisdom of Vlad the Impaler" 

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com



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