From f4694e3231c3f8a35f422dd600ccf2330a948cba Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Sat, 30 Jul 2016 19:19:44 -0700 Subject: [PATCH] Fix CMapArea vertex loop --- Runtime/AutoMapper/CMapArea.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/AutoMapper/CMapArea.cpp b/Runtime/AutoMapper/CMapArea.cpp index 7b1ce04e1..24927e1d9 100644 --- a/Runtime/AutoMapper/CMapArea.cpp +++ b/Runtime/AutoMapper/CMapArea.cpp @@ -33,7 +33,7 @@ void CMapArea::PostConstruct() u8* tmp = x3c_vertexStart; for (u32 i = 0 ; i<(x2c_vertexCount*3) ; ++i) { - u32* fl = reinterpret_cast(x3c_vertexStart + i); + u32* fl = reinterpret_cast(tmp); *fl = SBIG(*fl); tmp += 4; }