DataSpec: Be explicit about athena's SeekOrigin type

This was missed in 9c0d13f001
This commit is contained in:
Lioncash 2019-09-08 16:40:51 -04:00
parent 4a4781de76
commit bf818a883e
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(); offsets[i] = r.readUint32Big();
u32 dataStart = r.position(); u32 dataStart = r.position();
for (int i = 0; i < 8; ++i) { 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; int chFlags = (flags >> (i * 2)) & 0x3;
zeus::CAABox pos, neg, res; zeus::CAABox pos, neg, res;