CParticleElectric: Fix CalculatePoints

This commit is contained in:
Luke Street 2020-04-21 22:32:37 -04:00
parent fc7e8d4993
commit 12d8d534c6
1 changed files with 1 additions and 0 deletions

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;