[Freeciv-Dev] (PR#10652) Assertion `unit_list_size(&ptile->units) == 0'
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=10652 >
> [jdorje - Wed Oct 20 21:52:11 2004]:
>
> 1: 0x84b3840 Warriors at (23,19) Cyrus
> civclient: packhand.c:1939: handle_tile_info: Assertion
> `unit_list_size(&ptile->units) == 0' failed.
>
> I got this when my ally, whose warriors were inside my trireme, in the
> middle of the ocean, declared war on me.
They were teleported, but your client didn't know about it. When
remove_allied_visibility() was called it didn't remove the warriors from
your client because they were somewhere else.
Looks like remove_allied_visibility() should be called also before
resolve_unit_stacks().
--
mateusz
|
|