URL:
  <http://gna.org/patch/?6859>

                 Summary: Use switch when checking actor utype hard reqs.
                 Project: Freeciv
            Submitted by: sveinung
            Submitted on: Mon 25 Jan 2016 07:33:22 PM UTC
                Category: general
                Priority: 5 - Normal
                  Status: Ready For Test
                 Privacy: Public
             Assigned to: sveinung
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 3.0.0

    _______________________________________________________

Details:

No action has more than one check in action_actor_utype_hard_reqs_ok(). Use a
switch statement rather than a bunch of if statements.

(Reminder to self: The same clean up should probably be done in
is_action_possible() too)



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 25 Jan 2016 07:33:22 PM UTC  Name: switch.patch  Size: 2kB   By:
sveinung

<http://gna.org/patch/download.php?file_id=26475>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?6859>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to