mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-20 13:33:02 +01:00
Rename DIRBASE and its members
This commit is contained in:
@@ -227,7 +227,7 @@ ObjectAsset MusicObject::GetAsset(IReadObjectContext& context, std::string_view
|
||||
if (path.find("$RCT2:DATA/") == 0)
|
||||
{
|
||||
auto env = GetContext()->GetPlatformEnvironment();
|
||||
auto path2 = env->FindFile(DIRBASE::RCT2, DIRID::DATA, path.substr(11));
|
||||
auto path2 = env->FindFile(DirBase::rct2, DIRID::DATA, path.substr(11));
|
||||
return ObjectAsset(path2);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user