2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-21 21:39:11 +00:00

More refactoring, decouple tweaks from hecl

This commit is contained in:
2022-02-19 05:04:45 -08:00
parent ce23544a15
commit ad272f7468
204 changed files with 6475 additions and 2110 deletions

View File

@@ -280,7 +280,7 @@ CMapWorld::CMapWorld(CInputStream& in) {
x0_areas.reserve(areaCount);
x20_traversed.resize(areaCount);
for (u32 i = 0; i < areaCount; ++i) {
CAssetId mapaId = in.ReadLong();
CAssetId mapaId = in.Get<CAssetId>();
x0_areas.emplace_back(mapaId, EMapAreaList::Unloaded, x0_areas.empty() ? nullptr : &x0_areas.back());
}
x10_listHeads[2] = &x0_areas.back();