URL:
http://gna.org/patch/?1793
Summary: call_incident() never fallbacks to violators
function
Project: Freeciv
Submitted by: cazfi
Submitted on: Friday 07/30/2010 at 18:58
Category: ai
Priority: 5 - Normal
Status: Ready For Test
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release: 2.3.0
___
Details:
It doesn't make much sense that if ai_type of the victim does not define
incident function, violators version is used instead.
call_incident() does that just because nuclear incident affects all the
players and thus there is no clear one victim. Attached patch fixes this by
moving player iteration from inside the incident code to the caller.
___
File Attachments:
---
Date: Friday 07/30/2010 at 18:58 Name: CallIncidentRewrite.diff Size: 6kB
By: cazfi
http://gna.org/patch/download.php?file_id=9639
___
Reply to this item at:
http://gna.org/patch/?1793
___
Message sent via/by Gna!
http://gna.org/
___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev