This commit is contained in:
Charles 2001-08-14 18:46:33 +00:00
parent dc575c2ed2
commit 8a4fea8d7a
3 changed files with 8 additions and 1 deletions

View file

@ -33,6 +33,7 @@ void CNpcGhostTrainPlatform::postInit()
m_speedSetting = GO_DEFAULT;
m_carSpeed >>= 8;
m_trackContact = false;
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@ -62,6 +63,8 @@ void CNpcGhostTrainPlatform::processMovement( int _frames )
m_contact = true;
}
m_trackContact = false;
if ( m_isActivated )
{
if ( m_falling )
@ -110,6 +113,7 @@ void CNpcGhostTrainPlatform::processMovement( int _frames )
// have touched down
m_rebound = false;
m_trackContact = true;
moveY += groundHeight;
}
@ -178,6 +182,7 @@ void CNpcGhostTrainPlatform::processMovement( int _frames )
// have touched down
m_inJump = false;
m_trackContact = true;
moveY += groundHeight;
}
}
@ -194,6 +199,7 @@ void CNpcGhostTrainPlatform::processMovement( int _frames )
// groundHeight <= yMovement indicates either just above ground or on or below ground
moveY = groundHeight;
m_trackContact = true;
}
else
{