This commit is contained in:
parent
ef05298c70
commit
fbace83cd3
17 changed files with 168 additions and 93 deletions
|
@ -49,7 +49,7 @@ void CNpcFallingPlatformGenerator::think( int _frames )
|
|||
|
||||
if ( m_timer < 0 )
|
||||
{
|
||||
m_timer = GameState::getOneSecondInFrames() + ( getRnd() % ( ( m_data[m_type].initTimer - 1 ) * GameState::getOneSecondInFrames() ) );
|
||||
m_timer = ( 3 * GameState::getOneSecondInFrames() ) + ( getRnd() % ( ( m_data[m_type].initTimer - 1 ) * GameState::getOneSecondInFrames() ) );
|
||||
|
||||
// generate new falling platform
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue