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

Reply via email to