You've already forked Microtransactions64
mirror of
https://github.com/Print-and-Panic/Microtransactions64.git
synced 2026-01-21 10:17:19 -08:00
Bugfix: Reset mario's room when switching areas (#504)
Mario's room sometimes is not reset when warping between different areas, generally when warping from one area with rooms to another without them. This can cause things like doors to not render properly.
This commit is contained in:
@@ -235,6 +235,8 @@ void load_area(s32 index) {
|
||||
main_pool_pop_state();
|
||||
main_pool_push_state();
|
||||
|
||||
gMarioCurrentRoom = 0;
|
||||
|
||||
if (gCurrentArea->terrainData != NULL) {
|
||||
load_area_terrain(index, gCurrentArea->terrainData, gCurrentArea->surfaceRooms,
|
||||
gCurrentArea->macroObjects);
|
||||
|
||||
Reference in New Issue
Block a user