mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +00:00
- fixed division by 0 in ActorMover code.
This commit is contained in:
parent
3d147a032c
commit
ccacc23905
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue