Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2003:
[Freeciv-Dev] (PR#5104) pplayers_allied assert failed
Home

[Freeciv-Dev] (PR#5104) pplayers_allied assert failed

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: chrisk@xxxxxxxxx
Subject: [Freeciv-Dev] (PR#5104) pplayers_allied assert failed
From: "John Wheeler" <jdwheeler42@xxxxxxxxx>
Date: Tue, 19 Aug 2003 19:00:30 -0700
Reply-to: rt@xxxxxxxxxxxxxx

I've been having this problem, too.  I suspect it's because Essen has a
Filipino engineer in it, and the Filipinos are allied with the
Portugese, so when you declare war on the latter and the former are
dragged in, you now have a non-allied unit in the city.  The problem is
that resolve_unit_stacks() is called after the goto, so it is not called
when going from alliance directly to war.  Moving it fixes the problem.

Patch attached.
-- 

++JohnWheeler

Attachment: breakalliance.diff
Description: breakalliance.diff


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