This commit is contained in:
Charles 2001-04-05 14:17:24 +00:00
parent 7aa1ed3944
commit b08c0884df
4 changed files with 7 additions and 18 deletions

View file

@ -386,18 +386,6 @@ void CNpcEnemy::postInit()
case NPC_INIT_RETURNING_HAZARD:
{
DVECTOR newPos;
newPos.vx = 100;
newPos.vy = 10;
m_npcPath.addWaypoint( newPos );
newPos.vx = 500;
newPos.vy = 10;
m_npcPath.addWaypoint( newPos );
m_npcPath.setPathType( CNpcPath::SINGLE_USE_PATH );
break;
@ -452,7 +440,7 @@ void CNpcEnemy::postInit()
DVECTOR spikePos;
heading = m_heading - 1024 + ( fireLoop * 512 );
heading %= 4096;
heading &= 4095;
spikePos = Pos;
spikePos.vx += ( 10 * rcos( heading ) ) >> 12;