2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-08 03:25:51 +00:00

DataSpec: Be explicit about athena's SeekOrigin type

This was missed in 9c0d13f0011943908140ac33e5b1acc37828ce49
This commit is contained in:
Lioncash 2019-09-08 16:40:51 -04:00
parent 4a4781de76
commit bf818a883e

View File

@ -81,7 +81,7 @@ static void OutputOctreeNode(hecl::blender::PyOutStream& os, athena::io::MemoryR
offsets[i] = r.readUint32Big();
u32 dataStart = r.position();
for (int i = 0; i < 8; ++i) {
r.seek(dataStart + offsets[i], athena::Begin);
r.seek(dataStart + offsets[i], athena::SeekOrigin::Begin);
int chFlags = (flags >> (i * 2)) & 0x3;
zeus::CAABox pos, neg, res;