CPVSVisOctree: Use static qualifying name for ReadBoundingBoxBig()

It looks very odd using the name of the object being initialized to call
through to a static member function. We can disambiguate this by making
use of the qualifying name directly.
This commit is contained in:
Lioncash 2020-03-07 04:46:17 -05:00
parent 4daa8ac374
commit 969bcdba35
1 changed files with 3 additions and 3 deletions

View File

@ -4,9 +4,9 @@ namespace urde {
CPVSVisOctree CPVSVisOctree::MakePVSVisOctree(const u8* data) { CPVSVisOctree CPVSVisOctree::MakePVSVisOctree(const u8* data) {
CMemoryInStream r(data, 68); CMemoryInStream r(data, 68);
zeus::CAABox aabb = aabb.ReadBoundingBoxBig(r); const zeus::CAABox aabb = zeus::CAABox::ReadBoundingBoxBig(r);
u32 numObjects = r.readUint32Big(); const u32 numObjects = r.readUint32Big();
u32 numLights = r.readUint32Big(); const u32 numLights = r.readUint32Big();
r.readUint32Big(); r.readUint32Big();
return CPVSVisOctree(aabb, numObjects, numLights, data + r.position()); return CPVSVisOctree(aabb, numObjects, numLights, data + r.position());
} }