mirror of https://github.com/ZDoom/gzdoom-gles.git
- fixed division by 0 in ActorMover code.
This commit is contained in:
parent
3d147a032c
commit
ccacc23905
|
@ -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.;
|
||||
|
|
Loading…
Reference in New Issue