This commit is contained in:
parent
a322e08c17
commit
6941aded45
1 changed files with 23 additions and 4 deletions
|
@ -482,13 +482,32 @@ void CNpcPlatform::postInit()
|
|||
|
||||
if ( m_type == NPC_LINEAR_PLATFORM )
|
||||
{
|
||||
if ( ( CLevel::getCurrentChapter() != 5 && CLevel::getCurrentChapterLevel() != 4 ) &&
|
||||
( CLevel::getCurrentChapter() != 6 && CLevel::getCurrentChapterLevel() != 1 ) )
|
||||
switch( CLevel::getCurrentChapter() )
|
||||
{
|
||||
case 5:
|
||||
{
|
||||
if ( CLevel::getCurrentChapterLevel() == 4 )
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
case 6:
|
||||
{
|
||||
if ( CLevel::getCurrentChapterLevel() == 1 )
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
CFXJellyFishLegs *T=(CFXJellyFishLegs*)CFX::Create(CFX::FX_TYPE_JELLYFISH_LEGS,this);
|
||||
T->SetUp(64,4,8,8);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue