mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 14:24:33 +01:00
Allow loading images from .pob files (#15122)
This commit is contained in:
committed by
GitHub
parent
87007ba2a3
commit
71ff9bf6d6
@@ -165,7 +165,7 @@ static bool TryClassifyAsTD4_TD6(OpenRCT2::IStream* stream, ClassifiedFileInfo*
|
||||
uint32_t get_file_extension_type(const utf8* path)
|
||||
{
|
||||
auto extension = Path::GetExtension(path);
|
||||
if (String::Equals(extension, ".dat", true))
|
||||
if (String::Equals(extension, ".dat", true) || String::Equals(extension, ".pob", true))
|
||||
return FILE_EXTENSION_DAT;
|
||||
if (String::Equals(extension, ".sc4", true))
|
||||
return FILE_EXTENSION_SC4;
|
||||
|
||||
Reference in New Issue
Block a user