From bc7d1343da03e07945f5903efca96ed22334738d Mon Sep 17 00:00:00 2001 From: Ted John Date: Sun, 8 May 2016 16:48:42 +0100 Subject: [PATCH] fix crash, just always reset loaded objects --- src/rct2/S6Exporter.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/rct2/S6Exporter.cpp b/src/rct2/S6Exporter.cpp index baecf6ed39..f57b4610a6 100644 --- a/src/rct2/S6Exporter.cpp +++ b/src/rct2/S6Exporter.cpp @@ -320,11 +320,7 @@ extern "C" } delete s6exporter; - if (flags & S6_SAVE_FLAG_EXPORT) - { - reset_loaded_objects(); - } - + reset_loaded_objects(); gfx_invalidate_screen(); if (result && !(flags & S6_SAVE_FLAG_AUTOMATIC))