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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user