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 03 Feb 2013 12:39:20 AM UTC  
 
Category: generalPriority: 5 - Normal
Status: DonePrivacy: Public
Assigned to: Marko Lindqvist <cazfi>Open/Closed: Closed
Planned Release: 2.5.0

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Tue 05 Feb 2013 11:22:54 PM UTC, 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 03 Feb 2013 12:39:20 AM UTC, 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):
   
   
Comment:
   

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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 05 Feb 2013 11:23:05 PM UTCcazfiStatusReady For Test=>Done
      Assigned toNone=>cazfi
      Open/ClosedOpen=>Closed
    Sun 03 Feb 2013 12:39:20 AM UTCcazfiAttached File-=>Added NatEnabledSaveUnit.patch, #17111
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup