This commit is contained in:
Charles 2001-01-30 22:58:25 +00:00
parent f01aab441d
commit 0c04ed7ede

View file

@ -116,7 +116,7 @@ CNpc::NPC_DATA CNpc::m_data[NPC_UNIT_TYPE_MAX] =
NPC_CLOSE_NONE, NPC_CLOSE_NONE,
NPC_TIMER_NONE, NPC_TIMER_NONE,
false, false,
3, 40,
2048, 2048,
}, },
@ -656,17 +656,14 @@ void CNpc::init()
DVECTOR newPos; DVECTOR newPos;
newPos.vx = 200; newPos.vx = 300;
newPos.vy = 100; newPos.vy = 100;
m_npcPath.addWaypoint( newPos ); m_npcPath.addWaypoint( newPos );
m_npcPath.setPathType( SINGLE_USE_PATH ); m_npcPath.setPathType( SINGLE_USE_PATH );
m_extension = newPos.vx - Pos.vx; m_extension = 0;
m_velocity = m_data[m_type].speed; m_velocity = m_data[m_type].speed;
m_timerTimer = GameState::getOneSecondInFrames() * 4; m_timerTimer = GameState::getOneSecondInFrames() * 4;
break; break;