This commit is contained in:
parent
f338710074
commit
63598d2f73
17 changed files with 363 additions and 72 deletions
|
@ -147,6 +147,11 @@ void CNpcPath::setPathType( u8 newPathType )
|
|||
pathType = (NPC_PATH_TYPE) newPathType;
|
||||
}
|
||||
|
||||
u8 CNpcPath::getPathType()
|
||||
{
|
||||
return( pathType );
|
||||
}
|
||||
|
||||
bool CNpcPath::incPath()
|
||||
{
|
||||
if ( !reversePath )
|
||||
|
@ -349,4 +354,9 @@ bool CNpcPath::thinkVertical( DVECTOR currentPos, bool *pathComplete, s32 *distX
|
|||
}
|
||||
|
||||
return( pointChange );
|
||||
}
|
||||
}
|
||||
|
||||
CNpcWaypoint *CNpcPath::getWaypointList()
|
||||
{
|
||||
return( waypoint );
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue