Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2003:
[Freeciv-Dev] (PR#5106) assertion in get_defender
Home

[Freeciv-Dev] (PR#5106) assertion in get_defender

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#5106) assertion in get_defender
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 15 Aug 2003 08:40:20 -0700
Reply-to: rt@xxxxxxxxxxxxxx

[jdorje - Fri Aug 15 15:35:08 2003]:

> [jdorje - Fri Aug 15 14:51:54 2003]:
> 
> > This autogame was originally the one used to reproduce the
> pending_seen bug.
> >
> > Now it crashes earlier:
> >
> > 1: get_defender bug: b's Battleship vs Palmiro Togliatti's Transport
> > (total 2 units) on Ocean at (29,39).
> >  > civserver: combat.c:626: get_defender: Assertion `0' failed.
> > Aborted (core dumped)
> 
> The battleship is attacking a transport.  The transport's tile
> contains
> a second unit - the Mech. Inf. from an allied player that is being
> transported_by the transport.

Oh, and...

The battleship's owner (player 0) is in DS_ALLIANCE with the transport's
owner (player 4), but has DS_NO_CONTACT with the Mech Inf's owner
(player 18).

Oddly, the ID of the battleship is 0.

jason



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