Review isoExit
This commit is contained in:
parent
382de999cc
commit
b1a8707fb2
16
src/map.cc
16
src/map.cc
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue