- fixed division by 0 in ActorMover code.

This commit is contained in:
Christoph Oelckers 2017-02-01 00:20:08 +01:00
parent 3d147a032c
commit ccacc23905
1 changed files with 1 additions and 1 deletions

View File

@ -287,7 +287,7 @@ class PathFollower : Actor
if (Interpolate ())
{
Time += (8. / (CurrNode.args[1] * TICRATE));
Time += (8. / (max(1, CurrNode.args[1]) * TICRATE));
if (Time > 1.)
{
Time -= 1.;