storm-devs / storm-engine

Game engine behind Sea Dogs, Pirates of the Caribbean and Age of Pirates games.
https://storm-devs.github.io/storm-engine
GNU General Public License v3.0
847 stars 120 forks source link

Fix string count not being reset when resetting string codec #501

Closed Hammie closed 1 year ago

Hammie commented 1 year ago

Found a bug where the string count does not actually match the number of string in a string codec. Caused by the count not being reset, this resulted in a lot of empty strings being stored in save games.