[Freeciv-Dev] Re: (PR#9540) GHOST UNITS again!
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: |
undisclosed-recipients: ; |
Subject: |
[Freeciv-Dev] Re: (PR#9540) GHOST UNITS again! |
From: |
"Mateusz Stefek" <mstefek@xxxxxxxxx> |
Date: |
Thu, 29 Jul 2004 09:55:48 -0700 |
Reply-to: |
rt@xxxxxxxxxxx |
<URL: http://rt.freeciv.org/Ticket/Display.html?id=9540 >
> Mateusz Stefek wrote:
> > <URL: http://rt.freeciv.org/Ticket/Display.html?id=9540 >
> >
> >>load attached game
> >>
> >>connect as A and B (with two clients)
> >>1) move A's destroyer east
> >>There's already bug here. A shouldn't see this submarine. But this
> is
> >>
> >>harmless
> >>2) move B's submarine west and disband it.
> >>Now there is a ghost unit in A's client.
> >>--
> >>mateusz
> >>
> >
> > And a fix
>
> I don't think this is the right fix. I suspect the bug is that the
> submarine is visible in the first place. If this wasn't true then
> the
> client would never know about it and there would be not ghost unit.
> The
> later code doesn't send a goes-out-of-sight-packet because the unit
> was
> never in sight (or so it thinks).
>
> jason
>
>
But my patch solves 1) not 2). When destroyer is moved client removes
that submarine. :)
--
mateusz
----------------------------------------------------------------------
Portal INTERIA.PL zaprasza... >>> http://link.interia.pl/f17cb
|
|