diff --git a/source/platform/pfgen.cpp b/source/platform/pfgen.cpp index 54c066eb8..48f040cd9 100644 --- a/source/platform/pfgen.cpp +++ b/source/platform/pfgen.cpp @@ -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(); } diff --git a/source/platform/platdata.cpp b/source/platform/platdata.cpp index 77194da02..794dc91f0 100644 --- a/source/platform/platdata.cpp +++ b/source/platform/platdata.cpp @@ -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, },