1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-20 14:23:08 +01:00

place custom real parks in real parks for source mode

This commit is contained in:
IntelOrca
2016-01-01 13:32:11 +00:00
parent 6747f20238
commit be6f7321d0

View File

@@ -174,8 +174,12 @@ static void scenario_list_add(const utf8 *path, uint64 timestamp)
newEntry->category = desc.category; newEntry->category = desc.category;
} else { } else {
newEntry->source_index = -1; newEntry->source_index = -1;
if (newEntry->category == SCENARIO_CATEGORY_REAL) {
newEntry->source_game = SCENARIO_SOURCE_REAL;
} else {
newEntry->source_game = SCENARIO_SOURCE_OTHER; newEntry->source_game = SCENARIO_SOURCE_OTHER;
} }
}
// Translate scenario name and details // Translate scenario name and details
utf8 filenameWithoutExtension[MAX_PATH]; utf8 filenameWithoutExtension[MAX_PATH];