[Freeciv-Dev] Re: (PR#9540) GHOST UNITS again!
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<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
|
|