400-499
This commit is contained in:
@@ -26,4 +26,20 @@ CVector
|
||||
CRouteNode::GetPointPosition(int16 point)
|
||||
{
|
||||
return gaRoutes[point].m_pos;
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
CRouteNode::AddRoutePoint(int16 route, CVector pos)
|
||||
{
|
||||
uint16 point;
|
||||
for (point = 0; point < NUMPEDROUTES; point++) {
|
||||
if (gaRoutes[point].m_route == -1)
|
||||
break;
|
||||
}
|
||||
#ifdef FIX_BUGS
|
||||
if (point == NUMPEDROUTES)
|
||||
return;
|
||||
#endif
|
||||
gaRoutes[point].m_route = route;
|
||||
gaRoutes[point].m_pos = pos;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user