Fix #5767: Importing AA/LL SC4s causes a crash

This commit is contained in:
Richard Jenkins 2017-07-03 17:32:05 +01:00 committed by GitHub
parent dd2ab63b26
commit aec214c684
1 changed files with 1 additions and 1 deletions

View File

@ -2670,7 +2670,7 @@ extern "C"
auto s4Importer = std::make_unique<S4Importer>();
try
{
result = new ParkLoadResult(s4Importer->LoadSavedGame(path));
result = new ParkLoadResult(s4Importer->LoadScenario(path));
if (result->Error == PARK_LOAD_ERROR_OK)
{
s4Importer->Import();