2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-13 19:51:22 +00:00

CParticleElectric: Fix CalculatePoints

This commit is contained in:
Luke Street 2020-04-21 22:32:37 -04:00
parent fc7e8d4993
commit 12d8d534c6

View File

@ -274,6 +274,7 @@ void CParticleElectric::CalculatePoints() {
}
if (points.size() == 4) {
x420_calculatedVerts[0] = points[0];
const int segs = x150_SSEG - 1;
const float segDiv = 1.f / float(segs);
float curDiv = segDiv;