[Freeciv-Dev] [patch #1793] call_incident() never fallbacks to violators function

2010-08-02 Thread Marko Lindqvist

Update of patch #1793 (project freeciv):

  Status:  Ready For Test = Done   
 Assigned to:None = cazfi  
 Open/Closed:Open = Closed 


___

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


[Freeciv-Dev] [patch #1793] call_incident() never fallbacks to violators function

2010-07-30 Thread Marko Lindqvist

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