This commit is contained in:
Charles 2001-07-16 21:53:59 +00:00
parent 2237dbd79b
commit 254aa99695
3 changed files with 13 additions and 2 deletions

View File

@ -355,7 +355,7 @@ CNpcEnemy::NPC_DATA CNpcEnemy::m_data[NPC_UNIT_TYPE_MAX] =
NPC_CLOSE_NONE,
NPC_TIMER_NONE,
false,
2,
3,
2048,
DETECT_ALL_COLLISION,
DAMAGE__HIT_ENEMY,

View File

@ -24,6 +24,7 @@ public:
virtual void postInit();
void render();
CRECT const *getThinkBBox();
bool alwaysThink() {return(false);}
protected:
void processLifetime( int _frames );
void processMovement( int _frames );

View File

@ -1381,5 +1381,15 @@ bool CNpcPlatform::alwaysThink()
int chapter=GameScene.getChapterNumber();
int level=GameScene.getLevelNumber();
return( chapter == 1 && level == 5 );
if ( chapter == 1 )
{
if ( level == 5 )
{
return( true );
}
}
return( false );
//return( ( chapter == 1 ) && ( level == 5 ) );
}