This commit is contained in:
parent
00e017b62d
commit
4c64c9ed4e
25 changed files with 58 additions and 40 deletions
|
@ -473,6 +473,11 @@ void CLevel::initThings(int _respawningLevel)
|
|||
enemy->setLayerCollision( getCollisionLayer() );
|
||||
enemy->setupWaypoints( ThisActor );
|
||||
enemy->postInit();
|
||||
|
||||
if ( ThisActor->Speed )
|
||||
{
|
||||
enemy->setSpeed( ThisActor->Speed );
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
|
@ -501,6 +506,11 @@ void CLevel::initThings(int _respawningLevel)
|
|||
platform = CNpcPlatform::Create( ThisPlatform );
|
||||
platform->setLayerCollision( getCollisionLayer() );
|
||||
platform->postInit();
|
||||
|
||||
if ( ThisPlatform->Speed )
|
||||
{
|
||||
platform->setSpeed( ThisPlatform->Speed );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue