From 37b479de8983f7934e22ae2dc8ce2220539efb68 Mon Sep 17 00:00:00 2001 From: Charles Date: Sat, 5 May 2001 22:21:30 +0000 Subject: [PATCH] --- source/enemy/nmjfish.cpp | 7 +++++++ source/platform/platform.cpp | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/source/enemy/nmjfish.cpp b/source/enemy/nmjfish.cpp index 491029750..c15128d3b 100644 --- a/source/enemy/nmjfish.cpp +++ b/source/enemy/nmjfish.cpp @@ -35,6 +35,10 @@ #include "player\player.h" #endif +#include "fx\fx.h" +#include "fx\fxjfish.h" + + #define MJ_CYCLE_WIDTH 400 #define MJ_HALF_CYCLE_WIDTH ( MJ_CYCLE_WIDTH >> 1 ) @@ -50,6 +54,9 @@ void CNpcMotherJellyfishEnemy::postInit() { m_health = CLevel::getBossHealth(); } + + CFXJellyFishLegs *T=(CFXJellyFishLegs*)CFX::Create(CFX::FX_TYPE_JELLYFISH_LEGS,this); + T->SetUp(128,4,8,16); } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// diff --git a/source/platform/platform.cpp b/source/platform/platform.cpp index e0be83307..844b9f115 100644 --- a/source/platform/platform.cpp +++ b/source/platform/platform.cpp @@ -478,7 +478,8 @@ void CNpcPlatform::postInit() if ( m_type == NPC_LINEAR_PLATFORM ) { - if ( CLevel::getCurrentChapter() != 5 && CLevel::getCurrentChapterLevel() != 4 ) + if ( ( CLevel::getCurrentChapter() != 5 && CLevel::getCurrentChapterLevel() != 4 ) && + ( CLevel::getCurrentChapter() != 6 && CLevel::getCurrentChapterLevel() != 1 ) ) { CFXJellyFishLegs *T=(CFXJellyFishLegs*)CFX::Create(CFX::FX_TYPE_JELLYFISH_LEGS,this); T->SetUp(64,4,8,8);