mirror of https://github.com/AxioDL/metaforce.git
Fix CMapArea vertex loop
This commit is contained in:
parent
4541234706
commit
f4694e3231
|
@ -33,7 +33,7 @@ void CMapArea::PostConstruct()
|
||||||
u8* tmp = x3c_vertexStart;
|
u8* tmp = x3c_vertexStart;
|
||||||
for (u32 i = 0 ; i<(x2c_vertexCount*3) ; ++i)
|
for (u32 i = 0 ; i<(x2c_vertexCount*3) ; ++i)
|
||||||
{
|
{
|
||||||
u32* fl = reinterpret_cast<u32*>(x3c_vertexStart + i);
|
u32* fl = reinterpret_cast<u32*>(tmp);
|
||||||
*fl = SBIG(*fl);
|
*fl = SBIG(*fl);
|
||||||
tmp += 4;
|
tmp += 4;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue