This commit is contained in:
parent
cb0f954a90
commit
abc3ef1764
2 changed files with 3 additions and 3 deletions
|
@ -1320,9 +1320,7 @@ void CNpcEnemy::processShotDeathEnd( int _frames )
|
||||||
m_speed++;
|
m_speed++;
|
||||||
}
|
}
|
||||||
|
|
||||||
DVECTOR const &offset = CLevel::getCameraPos();
|
if ( !canRender() )
|
||||||
|
|
||||||
if ( Pos.vy - offset.vy > VidGetScrH() )
|
|
||||||
{
|
{
|
||||||
if ( m_data[m_type].respawning )
|
if ( m_data[m_type].respawning )
|
||||||
{
|
{
|
||||||
|
|
|
@ -125,6 +125,8 @@ public:
|
||||||
bool suckUp( DVECTOR *suckPos, int _frames );
|
bool suckUp( DVECTOR *suckPos, int _frames );
|
||||||
|
|
||||||
int getHealth() {return(m_health);}
|
int getHealth() {return(m_health);}
|
||||||
|
|
||||||
|
bool alwaysThink() {return(m_isDying);} // makes sure enemy drops off screen and is killed normally
|
||||||
protected:
|
protected:
|
||||||
// NPC data structure definitions //
|
// NPC data structure definitions //
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue