mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 19:47:43 +00:00
DataSpec: Be explicit about athena's SeekOrigin type
Allows code to still function properly if the enum is changed into an enum class.
This commit is contained in:
@@ -116,7 +116,7 @@ void PAKBridge::build() {
|
||||
if (worldMapEnt) {
|
||||
worldMapEnt->name = entry.name + "_mapw";
|
||||
PAKEntryReadStream rs = worldMapEnt->beginReadStream(m_node);
|
||||
rs.seek(8, athena::Current);
|
||||
rs.seek(8, athena::SeekOrigin::Current);
|
||||
atUint32 areaCount = rs.readUint32Big();
|
||||
mapw.reserve(areaCount);
|
||||
for (atUint32 i = 0; i < areaCount; ++i)
|
||||
|
||||
Reference in New Issue
Block a user