From 5c21494c73c299001462f7a7b2cea28883ac11dd Mon Sep 17 00:00:00 2001 From: fgsfds Date: Thu, 1 Oct 2020 17:44:29 +0300 Subject: [PATCH] fix crash with dynamic surfaces? unknown if this has actually caused any issues in EX --- src/engine/surface_load.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/engine/surface_load.c b/src/engine/surface_load.c index ac2ee50c..0a87efc5 100644 --- a/src/engine/surface_load.c +++ b/src/engine/surface_load.c @@ -596,6 +596,7 @@ void load_area_terrain(s16 index, s16 *data, s8 *surfaceRooms, s16 *macroObjects gSurfaceNodesAllocated = 0; gSurfacesAllocated = 0; + clear_dynamic_surfaces(); clear_static_surfaces(); // A while loop iterating through each section of the level data. Sections of data