diff --git a/src/ActorMultiVertex.cpp b/src/ActorMultiVertex.cpp index 8d0ffdf2b9..b3c1102311 100644 --- a/src/ActorMultiVertex.cpp +++ b/src/ActorMultiVertex.cpp @@ -333,7 +333,8 @@ void ActorMultiVertex::SetVertsFromSplinesInternal(size_t num_splines, size_t of { vector pos; const int spi= v%num_splines; - _splines[spi].evaluate(static_cast(v) * tper[spi], pos); + float part= static_cast(v/num_splines); + _splines[spi].evaluate(part * tper[spi], pos); verts[v+first].p.x= pos[0]; verts[v+first].p.y= pos[1]; verts[v+first].p.z= pos[2];