no message
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@770 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -79,6 +79,9 @@ void CWaypointClass::Clear()
|
||||
}
|
||||
}
|
||||
|
||||
//fixme
|
||||
TLinkedList<node_s *>::node_s *testx;
|
||||
|
||||
// returns true if waypoints succesfull loaded
|
||||
bool CWaypointClass::LoadWaypoints()
|
||||
{
|
||||
@@ -197,7 +200,7 @@ bool CWaypointClass::LoadWaypoints()
|
||||
(triggernr < BotManager.m_sCurrentTriggerNr))
|
||||
BotManager.m_sCurrentTriggerNr = triggernr;
|
||||
}
|
||||
|
||||
|
||||
for (i=0; i < header.iWPCount; i++)
|
||||
{
|
||||
// read the number of paths from this node...
|
||||
@@ -272,6 +275,9 @@ bool CWaypointClass::LoadWaypoints()
|
||||
ReCalcCosts();
|
||||
|
||||
conoutf("Waypoints for map %s loaded", (m_szMapName));
|
||||
|
||||
testx = m_Waypoints[1][1].pNodeList;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user