fix crash with dynamic surfaces?

unknown if this has actually caused any issues in EX
This commit is contained in:
fgsfds 2020-10-01 17:44:29 +03:00
parent b8b6b36eef
commit 5c21494c73
1 changed files with 1 additions and 0 deletions

View File

@ -596,6 +596,7 @@ void load_area_terrain(s16 index, s16 *data, s8 *surfaceRooms, s16 *macroObjects
gSurfaceNodesAllocated = 0; gSurfaceNodesAllocated = 0;
gSurfacesAllocated = 0; gSurfacesAllocated = 0;
clear_dynamic_surfaces();
clear_static_surfaces(); clear_static_surfaces();
// A while loop iterating through each section of the level data. Sections of data // A while loop iterating through each section of the level data. Sections of data