mirror of https://github.com/sm64pc/sm64pc.git
fix crash with dynamic surfaces?
unknown if this has actually caused any issues in EX
This commit is contained in:
parent
b8b6b36eef
commit
5c21494c73
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue