This commit is contained in:
Charles 2001-05-08 16:25:45 +00:00
parent 26d50aa503
commit 9beaeed67a
7 changed files with 88 additions and 30 deletions

View file

@ -83,6 +83,29 @@ void CNpcDualPlatform::setWaypoints( sThingPlatform *ThisPlatform )
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
u8 CNpcDualPlatform::canDrop()
{
if ( m_isMaster )
{
s32 extensionLeft = m_maxExtension - m_extension;
if ( extensionLeft == 0 )
{
return( false );
}
else
{
return( true );
}
}
else
{
return( false );
}
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void CNpcDualPlatform::processMovement( int _frames )
{
if ( m_isMaster )