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();
artExit();
if (gMapGlobalVars != NULL) {
internal_free(gMapGlobalVars);
gMapGlobalVars = NULL;
gMapGlobalVarsLength = 0;
}
windowDestroy(gIsoWindow);
if (gMapLocalVars != NULL) {
internal_free(gMapLocalVars);
gMapLocalVars = NULL;
gMapLocalVarsLength = 0;
}
// NOTE: Uninline.
mapGlobalVariablesFree();
// NOTE: Uninline.
mapLocalVariablesFree();
}
// 0x481FB4