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