1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-23 15:52:55 +01:00

fixes #1445, now checks for existance of g1.dat files in the game path rather than just for the folder

This commit is contained in:
Miso Zmiric (Mike Squinter)
2015-06-24 15:28:06 +01:00
parent 196b6b2086
commit f9d85b6959
3 changed files with 10 additions and 1 deletions

View File

@@ -713,7 +713,7 @@ static bool config_find_rct2_path(char *resultPath)
};
for (i = 0; i < countof(searchLocations); i++) {
if (platform_directory_exists(searchLocations[i]) ) {
if (platform_original_game_data_exists(searchLocations[i])) {
strcpy(resultPath, searchLocations[i]);
return true;
}