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

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

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Bug #202 : transporter content shown instead of the transport
From: Jeff Mallatt <jjm@xxxxxxxxxxxx>
Date: Mon, 13 Mar 2000 10:47:10 -0500

At 2000/03/13 10:15 , Thue Janus Kristensen wrote:
>The way a unit in focus was allways on top (untill now) was by setting it as
>the first unit in the tiles genlist, which is a little clumsy I think. But I
>haven't changed it. Possibly We could just delete the code that puts it on
top,
>as the new player_find_visible_unit can easily be changed not to depend on it
>(as long as the global pointer punit_focus is set), but I haven't done
that as I
>don't know what other places depend on this "feature" (Did I mention I
thought
>it was ugly?)

Why, yes, you did :)  I think you're right, that using punit_focus would be
better.

>ps: The current way of putting a unit on top when it has focus is ugly and
>error-prone IMO. It should be enought to let punit_focus point to it.

I've noticed that, too, but haven't gotten around to doing anything about
it.  It's on my (very, very long) to-do list :)

jjm




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