This commit is contained in:
parent
f20ff43a08
commit
607635a703
2 changed files with 3 additions and 20 deletions
|
@ -93,23 +93,6 @@ void CNpcFallingPlatformGenerator::think( int _frames )
|
||||||
newPlatform->setWaypointCount( m_npcPath.getWaypointCount() );
|
newPlatform->setWaypointCount( m_npcPath.getWaypointCount() );
|
||||||
newPlatform->setWaypointPtr( m_npcPath.getWaypointPtr() );
|
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->setTiltable( false );
|
||||||
newPlatform->postInit();
|
newPlatform->postInit();
|
||||||
}
|
}
|
||||||
|
|
|
@ -234,7 +234,7 @@ CNpcPlatform::NPC_PLATFORM_DATA CNpcPlatform::m_data[NPC_PLATFORM_TYPE_MAX] =
|
||||||
0,
|
0,
|
||||||
4,
|
4,
|
||||||
NPC_PLATFORM_INFINITE_LIFE,
|
NPC_PLATFORM_INFINITE_LIFE,
|
||||||
2,
|
1,
|
||||||
NPC_PLATFORM_TIMER_NONE,
|
NPC_PLATFORM_TIMER_NONE,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -246,7 +246,7 @@ CNpcPlatform::NPC_PLATFORM_DATA CNpcPlatform::m_data[NPC_PLATFORM_TYPE_MAX] =
|
||||||
0,
|
0,
|
||||||
4,
|
4,
|
||||||
NPC_PLATFORM_INFINITE_LIFE,
|
NPC_PLATFORM_INFINITE_LIFE,
|
||||||
2,
|
1,
|
||||||
NPC_PLATFORM_TIMER_NONE,
|
NPC_PLATFORM_TIMER_NONE,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -270,7 +270,7 @@ CNpcPlatform::NPC_PLATFORM_DATA CNpcPlatform::m_data[NPC_PLATFORM_TYPE_MAX] =
|
||||||
0,
|
0,
|
||||||
4,
|
4,
|
||||||
NPC_PLATFORM_INFINITE_LIFE,
|
NPC_PLATFORM_INFINITE_LIFE,
|
||||||
2,
|
1,
|
||||||
NPC_PLATFORM_TIMER_NONE,
|
NPC_PLATFORM_TIMER_NONE,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue