patchFreeciv - Patches: patch #3659, Save unit nationality only if...

Show feedback again

patch #3659: Save unit nationality only if nationality rules enabled

Submitted by:  Marko Lindqvist <cazfi>
Submitted on:  Sun Feb 3 00:39:20 2013  
Category: generalPriority: 5 - Normal
Status: DonePrivacy: Public
Assigned to: Marko Lindqvist <cazfi>Open/Closed: Closed
Planned Release: 2.5.0Contains string changes: None

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Tue Feb 5 23:22:54 2013, SVN revision 22286:

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

See gna patch #3659

(Browse SVN revision 22286)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Sun Feb 3 00:39:20 2013, original submission:

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.

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #17111:  NatEnabledSaveUnit.patch added by cazfi (1kB - text/x-diff)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by cazfi (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue Feb 5 23:23:05 2013cazfiStatusReady For Test=>Done
      Assigned toNone=>cazfi
    Sun Feb 3 00:39:20 2013cazfiAttached File-=>Added NatEnabledSaveUnit.patch, #17111
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup