[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[bos-dev] [patch #8125] Patch to fix bug 35623



URL:
  <http://savannah.nongnu.org/patch/?8125>

                 Summary: Patch to fix bug 35623
                 Project: Bos Wars
            Submitted by: silnarm
            Submitted on: Tue 16 Jul 2013 12:53:47 AM GMT
             Open/Closed: Open
                  Status: None
             Assigned to: None
        Originator Email: 
         Discussion Lock: Any

    _______________________________________________________

Details:

Fixes the savegame issue reported here,

https://savannah.nongnu.org/bugs/?35623

New saves put the slot usage tables in a wrapper table, and call SlotUsage2()
rather than SlotUsage(). Old saves can therefore still be loaded (it's
backward compatible) but no check or conversion is performed on the call to
SlotUsage(), so old saves that can't be loaded due to this bug need to be
converted 'by hand' (suggest providing a script) as follows,

'SlotUsage' needs to be changed to 'SlotUsage2'
a '{' needs to be inserted before the second arg
a '}' needs to be inserted after all args




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 16 Jul 2013 12:53:47 AM GMT  Name: save_fix.patch  Size: 3kB   By:
silnarm

<http://savannah.nongnu.org/patch/download.php?file_id=28590>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?8125>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/