1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-17 18:59:09 +00:00

Fix an "address of temporary" error in plCluster.

This commit is contained in:
Darryl Pogue
2011-10-27 21:12:06 -07:00
parent d17711b04c
commit 58e89f81b2

View File

@ -205,8 +205,10 @@ void plCluster::UnPack(UInt8* vDst, UInt16* iDst, int idxOffset, hsBounds3Ext& w
} }
} }
} }
wBnd.Reset(&hsPoint3(minX, minY, minZ)); hsPoint3 min(minX, minY, minZ);
wBnd.Union(&hsPoint3(maxX, maxY, maxZ)); wBnd.Reset(&min);
hsPoint3 max(maxX, maxY, maxZ);
wBnd.Union(&max);
} }