Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change: Use SlErrorCorrupt() on pool index error when loading a savegame, instead of terminating. #7219

Merged
merged 1 commit into from Feb 13, 2019

Conversation

PeterN
Copy link
Member

@PeterN PeterN commented Feb 11, 2019

No description provided.

@PeterN
Copy link
Member Author

PeterN commented Feb 11, 2019

Hmm, I may rework this to be just one function that takes varargs.

src/core/pool_func.cpp Outdated Show resolved Hide resolved
src/core/pool_func.cpp Outdated Show resolved Hide resolved
@PeterN
Copy link
Member Author

PeterN commented Feb 13, 2019

Iteration 4... No special PoolBase::Error() function now, just a new SlErrorCorruptFmt() that takes a format string.

@PeterN PeterN merged commit c0c8fb2 into OpenTTD:master Feb 13, 2019
@PeterN PeterN deleted the pool-saveload-error branch February 13, 2019 09:01
nielsmh pushed a commit to nielsmh/OpenTTD that referenced this pull request Mar 11, 2019
douiwby pushed a commit to douiwby/OpenTTD that referenced this pull request Apr 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants