1
0
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:
Michael Steenbeek
2021-07-28 21:25:51 +02:00
committed by GitHub
parent 87007ba2a3
commit 71ff9bf6d6
2 changed files with 20 additions and 3 deletions

View File

@@ -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;