diff --git a/source/enemy/nboss.cpp b/source/enemy/nboss.cpp index cbf44b7e8..080d334c2 100644 --- a/source/enemy/nboss.cpp +++ b/source/enemy/nboss.cpp @@ -30,7 +30,7 @@ void CNpcBossEnemy::shutdown() { if ( m_energyBar ) { - m_energyBar->setToShutdown(); + m_energyBar->killFX(); } CNpcEnemy::shutdown(); diff --git a/source/enemy/nmjfish.cpp b/source/enemy/nmjfish.cpp index 052bbb010..067d3f3db 100644 --- a/source/enemy/nmjfish.cpp +++ b/source/enemy/nmjfish.cpp @@ -626,6 +626,11 @@ void CNpcMotherJellyfishEnemy::shutdown() CLevel::setBossHealth( m_health ); } + for ( int i = 0 ; i < 4 ; i++ ) + { + legs[i]->killFX(); + } + CNpcBossEnemy::shutdown(); } diff --git a/users/paul/spongebob project/spongebob project.dsp b/users/paul/spongebob project/spongebob project.dsp index 8bcd13298..2913c7ee7 100644 --- a/users/paul/spongebob project/spongebob project.dsp +++ b/users/paul/spongebob project/spongebob project.dsp @@ -617,14 +617,6 @@ SOURCE=..\..\..\source\fx\fx.h # End Source File # Begin Source File -SOURCE=..\..\..\source\fx\fxattachanim.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\fx\fxattachanim.h -# End Source File -# Begin Source File - SOURCE=..\..\..\source\fx\fxbaseanim.cpp # End Source File # Begin Source File