This commit is contained in:
Charles 2001-05-29 22:21:45 +00:00
parent f20ff43a08
commit 607635a703
2 changed files with 3 additions and 20 deletions

View File

@ -93,23 +93,6 @@ void CNpcFallingPlatformGenerator::think( int _frames )
newPlatform->setWaypointCount( m_npcPath.getWaypointCount() );
newPlatform->setWaypointPtr( m_npcPath.getWaypointPtr() );
/*CNpcWaypoint *sourceWaypoint = m_npcPath.getWaypointList();
if ( sourceWaypoint )
{
DVECTOR startPos;
startPos.vx = *sourceWaypoint->posX << 4;
startPos.vy = *sourceWaypoint->posY << 4;
newPlatform->init( startPos );
while( sourceWaypoint )
{
newPlatform->addWaypoint( sourceWaypoint->posX, sourceWaypoint->posY );
sourceWaypoint = sourceWaypoint->nextWaypoint;
}
}*/
newPlatform->setTiltable( false );
newPlatform->postInit();
}

View File

@ -234,7 +234,7 @@ CNpcPlatform::NPC_PLATFORM_DATA CNpcPlatform::m_data[NPC_PLATFORM_TYPE_MAX] =
0,
4,
NPC_PLATFORM_INFINITE_LIFE,
2,
1,
NPC_PLATFORM_TIMER_NONE,
},
@ -246,7 +246,7 @@ CNpcPlatform::NPC_PLATFORM_DATA CNpcPlatform::m_data[NPC_PLATFORM_TYPE_MAX] =
0,
4,
NPC_PLATFORM_INFINITE_LIFE,
2,
1,
NPC_PLATFORM_TIMER_NONE,
},
@ -270,7 +270,7 @@ CNpcPlatform::NPC_PLATFORM_DATA CNpcPlatform::m_data[NPC_PLATFORM_TYPE_MAX] =
0,
4,
NPC_PLATFORM_INFINITE_LIFE,
2,
1,
NPC_PLATFORM_TIMER_NONE,
},