2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 09:07:43 +00:00

Use ordered paklist

Prelim MAPA DNA
This commit is contained in:
2015-08-07 17:08:16 -07:00
parent 592c4484e7
commit 1c07a90dd2
5 changed files with 90 additions and 4 deletions

View File

@@ -234,8 +234,9 @@ struct SpecMP1 : SpecBase
int compIdx = 4;
prog = 0;
for (DNAMP1::PAKBridge& pak : m_paks)
for (std::pair<std::string, DNAMP1::PAKBridge*> pair : m_orderedPaks)
{
DNAMP1::PAKBridge& pak = *pair.second;
const std::string& name = pak.getName();
HECL::SystemStringView sysName(name);