Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2001:
[Freeciv-Dev] Re: Buggy Diplomatic State (PR#1146)
Home

[Freeciv-Dev] Re: Buggy Diplomatic State (PR#1146)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Buggy Diplomatic State (PR#1146)
From: Thue <thue@xxxxxxx>
Date: Thu, 27 Dec 2001 10:18:06 -0800 (PST)

On Wednesday 26 December 2001 16:54, Gregory Berkolaiko wrote:
> Erghm, a late answer, sorry.
>
> Thue wrote:
> > Actually this code is neccesary for old savegames. When an old game
> > is loaded all diplstates are set to DS_NEUTRAL. The bug is then
> > that the code doesn't know about DS_NO_CONTACT.
> >
> > -Thue
>
> Wouldn't it be simpler to change the default to DS_WAR when loading
> old savegames?  IMHO it's much simpler solution and removes about 20
> lines of code ;)
>
> Best,
> G.

I think human-human relations should default to neutral when loaded 
from an old game where they are not specified.
And those lines will be removed eventually when then AI supports 
diplomacy.

-Thue



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