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

Fix savegame loading map files with comma in name #35660

Merged
merged 3 commits into from
Nov 23, 2019

Conversation

BevapDin
Copy link
Contributor

@BevapDin BevapDin commented Nov 22, 2019

SUMMARY: None

Well, that's what you get for using stringstream: the original code used the operator<< to print the numbers of the coordinates to a std::stringstream. This printing does certain formatting, and it apparently uses the locale settings, which include a "," as thousands separator.

Hopefully fixes #34845 by restoring that behaviour as backup solution.

@kevingranade kevingranade merged commit e73f6f3 into CleverRaven:master Nov 23, 2019
@BevapDin BevapDin deleted the qes branch November 23, 2019 09:14
@BevapDin BevapDin restored the qes branch November 23, 2019 09:35
@BevapDin BevapDin deleted the qes branch November 23, 2019 09:35
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.

Incorrect save loading
2 participants