Merge pull request #60 from lioncash/athena

DataSpec: Be explicit about athena's SeekOrigin type
This commit is contained in:
Phillip Stephens 2019-09-08 17:49:25 -07:00 committed by GitHub
commit fa1b3a5a12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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;