16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-19 09:59:18 +02:00

backslash/slash fixes, again

This commit is contained in:
milek7
2018-03-26 21:22:20 +02:00
parent 6f62297e31
commit bc2184966f
18 changed files with 42 additions and 40 deletions

View File

@@ -5586,6 +5586,7 @@ bool TTrain::InitializeCab(int NewCabNo, std::string const &asFileName)
// model kabiny
parser->getTokens();
*parser >> token;
std::replace(token.begin(), token.end(), '\\', '/');
if (token != "none")
{
// bieżąca sciezka do tekstur to dynamic/...