URL:
http://gna.org/bugs/?17661
Summary: AI diplomacy does not react to spacerace leading
position immediately
Project: Freeciv
Submitted by: cazfi
Submitted on: Mon 07 Feb 2011 02:01:39 AM EET
Category: ai
Severity: 3 - Normal
Priority: 5 - Normal
Status: In Progress
Assigned to: cazfi
Originator Email:
Open/Closed: Open
Release:
Discussion Lock: Any
Operating System: None
Planned Release: 2.3.0
___
Details:
Found out when debugging patch #2374:
ai_diplomacy_begin_new_phase() is called before advisor data
diplomacy.spacerace_leader is set. Thus ai_diplomacy_begin_new_phase() uses
old value. I think this is value from previous turn, or NULL if game was just
loaded from savegame. But I'm not 100% certain it's not initialized between
turns leading ai to never notice it is spacerace leader. This would explain
why it currently never seems to try spacerace victory...
patch #2374 will fix this for trunk, S2_3 needs some other kind of fix.
___
Reply to this item at:
http://gna.org/bugs/?17661
___
Message sent via/by Gna!
http://gna.org/
___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev