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

                 Summary: Save unit nationality only if nationality rules
enabled
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Sun 03 Feb 2013 02:39:20 AM EET
                Category: general
                Priority: 5 - Normal
                  Status: Ready For Test
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 2.5.0

    _______________________________________________________

Details:

If nationality rules are not enabled, don't write unit's nationality
information to savegame.

That's just to save a bit in the savegame size. Internally unit structure
always has some nationality information, no matter what we do. Even if
nationality rules are disabled, savegame loading works the same - internally
nationality is loaded if it is found from savegame, and set to nationality of
the owner otherwise.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 03 Feb 2013 02:39:20 AM EET  Name: NatEnabledSaveUnit.patch  Size:
1kB   By: cazfi

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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