mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 01:59:19 +02:00
backslash/slash fixes, again
This commit is contained in:
3
EU07.cpp
3
EU07.cpp
@@ -270,7 +270,10 @@ int main(int argc, char *argv[])
|
||||
Global.iConvertModels = -7; // z optymalizacją, bananami i prawidłowym Opacity
|
||||
}
|
||||
else if (i + 1 < argc && token == "-s")
|
||||
{
|
||||
Global.SceneryFile = std::string(argv[++i]);
|
||||
std::replace(Global.SceneryFile.begin(), Global.SceneryFile.end(), '\\', '/');
|
||||
}
|
||||
else if (i + 1 < argc && token == "-v")
|
||||
{
|
||||
std::string v(argv[++i]);
|
||||
|
||||
Reference in New Issue
Block a user