This commit is contained in:
Charles 2001-07-11 19:03:57 +00:00
parent 34e9720e26
commit 89cd986bf2
2 changed files with 12 additions and 6 deletions

View file

@ -143,15 +143,17 @@ void CNpcConveyorPlatform::processMovement( int _frames )
{
if ( distX )
{
int Time = GameState::getFramesSinceLast();
moveX = distX;
if ( moveX > 4 )
if ( moveX > Time )
{
moveX = 4;
moveX = Time;
}
else if ( moveX < -4 )
else if ( moveX < -Time )
{
moveX = -4;
moveX = -Time;
}
}
else