Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Out of memory error in AI's ::Save() corrupts the emergency save. #7862
Version of OpenTTD
2019-12-07 master (win7 32-bit)
When an AI triggers an out of memory error when the game is saved, the emergency save is successful. When the emergency save is loaded, the AI that triggered the out of memory error is reloaded without saved data (as if a different AI was loaded in its place).
When an AI triggers an out of memory error when the game is saved, the emergency save triggers the same out of memory error. The emergency save is empty.
Steps to reproduce