mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-18 03:25:24 +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:
@@ -90,7 +90,7 @@ void PAKBridge::build() {
|
||||
std::vector<UniqueID64> mapw;
|
||||
if (worldMapEnt) {
|
||||
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