This commit is contained in:
Christoph Oelckers 2015-02-07 13:03:33 +01:00
commit 6801d0faec
2 changed files with 5 additions and 4 deletions

View file

@ -301,14 +301,14 @@ void APathFollower::Tick ()
bJustStepped = false;
if (CurrNode->args[2])
{
HoldTime = gametic + CurrNode->args[2] * TICRATE / 8;
HoldTime = level.time + CurrNode->args[2] * TICRATE / 8;
x = CurrNode->x;
y = CurrNode->y;
z = CurrNode->z;
}
}
if (HoldTime > gametic)
if (HoldTime > level.time)
return;
// Splines must have a previous node.