Xilmi / OpenXcom

Open-source clone of the original X-Com
http://openxcom.org
GNU General Public License v3.0
19 stars 10 forks source link

(bugfix) possible stale memory usage when (de)serializing yaml map bi… #3

Closed candidcanid closed 1 year ago

candidcanid commented 1 year ago

…ndata

  1. Fix for uninitialized memory / undefined behavior crash, stemming from 'lastExploredBy(x)' fields in SerializationKey not being propagated to savegames
  2. minor refactoring of 'Tile::SerializationKey', to make more explicit when defaults for a key are being used