Scripts/movement: spline - velocity (#22836)

This commit is contained in:
yvomsx
2018-11-28 08:13:27 +01:00
committed by Giacomo Pozzoni
parent 0b356d0bae
commit f1f05767ed

View File

@@ -204,7 +204,7 @@ bool MoveSplineInitArgs::Validate(Unit* unit) const
return false;\
}
CHECK(path.size() > 1);
CHECK(velocity >= 0.01f);
CHECK(velocity >= 0.001f);
CHECK(time_perc >= 0.f && time_perc <= 1.f);
//CHECK(_checkPathBounds());
return true;