This commit is contained in:
parent
ad01d5c18c
commit
d292ec9299
7 changed files with 83 additions and 21 deletions
|
@ -25,22 +25,6 @@ void CNpcBarrelHazard::init()
|
|||
{
|
||||
CNpcHazard::init();
|
||||
|
||||
DVECTOR newPos;
|
||||
|
||||
Pos.vx = 100;
|
||||
Pos.vy = 100;
|
||||
m_base = Pos;
|
||||
|
||||
newPos.vx = 600;
|
||||
newPos.vy = 100;
|
||||
|
||||
m_npcPath.addWaypoint( newPos );
|
||||
|
||||
newPos.vx = 50;
|
||||
newPos.vy = 100;
|
||||
|
||||
m_npcPath.addWaypoint( newPos );
|
||||
|
||||
m_npcPath.setPathType( CNpcPath::SINGLE_USE_PATH );
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue