<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39330 >

On 4/11/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=39330 >
>
> Jason Short wrote:
> > <URL: http://bugs.freeciv.org/Ticket/Display.html?id=39330 >
>
> >> Well, the patch can be easily be modified to send 'TILE_UNKNOWN'
> >> instead, for the case when the tile is seen by a city, but unknown.
> >> A *seen* tile is allowed to be *unknown* according to a comment in
> >> server/maphand.c, starting at line 810 on the SVN head revision, which I
> >> quote here:
> >
> > A tile can be known but not seen.  In this case the tile should be
> > marked as TILE_UNKNOWN in the player tile, NOT as TILE_KNOWN_FOGGED.
>
> No, a known but unseen tile *should* be marked as TILE_KNOWN_FOGGED. The
> code already does this, and my patch does not change this.

Very sorry, I mispoke.  I meant to say, a seen but unknown tile is
valid and should be marked as TILE_UNKNOWN.  This is what is
happening, is it not?

> Anyway, I modified the patch as I said I would, so that unknown but seen
> tiles are marked as TILE_UNKNOWN now. I tested it, and it works fine.
> The revised patch is attached to this message.

But we're still not fixing the core problem which is that an unknown
tile is being marked (in the plrtile) as KNOWN_FOGGED.

-jason



_______________________________________________
Freeciv-dev mailing list
[EMAIL PROTECTED]
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to