Review isoExit

This commit is contained in:
Alexander Batalov 2022-09-15 17:45:35 +03:00
parent 382de999cc
commit b1a8707fb2
1 changed files with 6 additions and 10 deletions

View File

@ -256,17 +256,13 @@ void isoExit()
tileExit(); tileExit();
artExit(); artExit();
if (gMapGlobalVars != NULL) { windowDestroy(gIsoWindow);
internal_free(gMapGlobalVars);
gMapGlobalVars = NULL;
gMapGlobalVarsLength = 0;
}
if (gMapLocalVars != NULL) { // NOTE: Uninline.
internal_free(gMapLocalVars); mapGlobalVariablesFree();
gMapLocalVars = NULL;
gMapLocalVarsLength = 0; // NOTE: Uninline.
} mapLocalVariablesFree();
} }
// 0x481FB4 // 0x481FB4