mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-10 09:32:29 +01:00
@@ -10,6 +10,7 @@
|
||||
- Fix: [#3596] Saving parks, landscapes and tracks with a period in the filenames don't get their extension.
|
||||
- Fix: [#5210] Default system dialog not accessible from saving landscape window.
|
||||
- Fix: [#6134] Scenarios incorrectly categorised when using Polish version of RCT2.
|
||||
- Fix: [#6141] CSS50.dat is never loaded.
|
||||
- Fix: [#7176] Mechanics sometimes fall down from rides.
|
||||
- Fix: [#7303] Visual glitch with virtual floor near map edges.
|
||||
- Fix: [#7327] Abstract scenery and stations don't get fully See-Through when hiding them (original bug).
|
||||
|
||||
@@ -274,8 +274,16 @@ namespace OpenRCT2
|
||||
std::string result;
|
||||
if (pathId == PATH_ID_CSS50)
|
||||
{
|
||||
auto dataPath = _env->GetDirectoryPath(DIRBASE::RCT1, DIRID::DATA);
|
||||
result = Path::Combine(dataPath, "css17.dat");
|
||||
if (!(_env->GetDirectoryPath(DIRBASE::RCT1).empty()))
|
||||
{
|
||||
auto dataPath = _env->GetDirectoryPath(DIRBASE::RCT1, DIRID::DATA);
|
||||
result = Path::Combine(dataPath, "css17.dat");
|
||||
}
|
||||
else
|
||||
{
|
||||
auto dataPath = _env->GetDirectoryPath(DIRBASE::RCT2, DIRID::DATA);
|
||||
result = Path::Combine(dataPath, "css50.dat");
|
||||
}
|
||||
}
|
||||
else if (pathId >= 0 && pathId < PATH_ID_END)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user