Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2004:
[Freeciv-Dev] (PR#10652) Assertion `unit_list_size(&ptile->units) == 0'
Home

[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]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#10652) Assertion `unit_list_size(&ptile->units) == 0' failed.
From: "Mateusz Stefek" <mstefek@xxxxxxxxx>
Date: Fri, 22 Oct 2004 00:05:29 -0700
Reply-to: rt@xxxxxxxxxxx

<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


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