This commit is contained in:
Daveo 2001-05-11 16:10:23 +00:00
parent 2a4a450d2b
commit 507c84ca0b

View file

@ -39,6 +39,7 @@ void CNpcEyeballEnemy::processEnemyCollision( CThing *thisThing )
void CNpcEyeballEnemy::postInit() void CNpcEyeballEnemy::postInit()
{ {
return;
CProjectile *projectile; CProjectile *projectile;
projectile = new ( "eyeball projectile" ) CProjectile; projectile = new ( "eyeball projectile" ) CProjectile;
projectile->init( Pos, m_fireHeading, CProjectile::PROJECTILE_FIXED, CProjectile::PROJECTILE_INFINITE_LIFE ); projectile->init( Pos, m_fireHeading, CProjectile::PROJECTILE_FIXED, CProjectile::PROJECTILE_INFINITE_LIFE );
@ -49,6 +50,7 @@ void CNpcEyeballEnemy::postInit()
bool CNpcEyeballEnemy::processSensor() bool CNpcEyeballEnemy::processSensor()
{ {
return(false);
switch( m_sensorFunc ) switch( m_sensorFunc )
{ {
case NPC_SENSOR_NONE: case NPC_SENSOR_NONE:
@ -72,6 +74,7 @@ bool CNpcEyeballEnemy::processSensor()
void CNpcEyeballEnemy::processClose( int _frames ) void CNpcEyeballEnemy::processClose( int _frames )
{ {
return;
if ( Next ) if ( Next )
{ {
CProjectile *projectile; CProjectile *projectile;