Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2000:
[Freeciv-Dev] Re: Bug #202 : transporter content shown instead of the tr
Home

[Freeciv-Dev] Re: Bug #202 : transporter content shown instead of the tr

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Jeff Mallatt <jjm@xxxxxxxxxxxx>, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Bug #202 : transporter content shown instead of the transport
From: Thue Janus Kristensen <thue.kristensen@xxxxxxxxxx>
Date: Wed, 15 Mar 2000 17:01:16 +0100

On Wed, 15 Mar 2000, Jeff Mallatt wrote:
> At 2000/03/13 11:43 , Jeff Mallatt wrote:
> >At 2000/03/13 10:15 , Thue Janus Kristensen wrote:
> >>Here is a patch that fixes that. I moved the function
> >player_find_visible_unit
> >>from common/player.c to client/control.c as it has no use on the
> >>server (and I needed access to punit_focus from the client).
> >
> >Thue sent me a small change that I thought was an improvement.  So, here's
> >an updated patch with that change.  Also, I renamed
> >player_find_visible_unit() to find_visible_unit(), because it's no longer a
> >"player" routine.
> 
> Oops.  Just discovered a bug with this.  Units which attack from a
> transporter are not seen by the victim.  E.g., put a Marines on a
> Transport, and attack something along the shore with the Marines directly
> from the Transport.  The victim player doesn't see the Marines -- just the
> Transport.

That would affect ships attacking from a square containing a transport too. :(
I'll have a look.

-Thue



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