Weed out some forgotten dead code.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4644 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
1403e9c36a
commit
c485aa69f5
|
@ -496,11 +496,7 @@ static FP_NODE *psNearest, *psRoute;
|
|||
}
|
||||
}
|
||||
|
||||
// ASSERT( fpathValidateTree(psOpen),
|
||||
// "fpathAStarRoute: Invalid open tree" );
|
||||
|
||||
// add the current point to the closed nodes
|
||||
// fpathHashRemove(apsOpen, psCurr->pos.x, psCurr->pos.y);
|
||||
// fpathHashAdd(apsClosed, psCurr);
|
||||
psCurr->type = NT_CLOSED;
|
||||
// debug( LOG_NEVER, "HashAdd - closed : %3d,%3d (%d,%d) = %d\n", psCurr->pos.x, psCurr->pos.y, psCurr->dist, psCurr->est, psCurr->dist+psCurr->est );
|
||||
|
|
|
@ -393,9 +393,8 @@ static BOOL fpathRouteCloser(MOVE_CONTROL *psMoveCntl, ASTAR_ROUTE *psAStarRoute
|
|||
}
|
||||
|
||||
// create a final route from a gateway route
|
||||
static FPATH_RETVAL fpathGatewayRoute(BASE_OBJECT *psObj, SDWORD routeMode, /*SDWORD GWTerrain,*/
|
||||
SDWORD sx, SDWORD sy, SDWORD fx, SDWORD fy,
|
||||
MOVE_CONTROL *psMoveCntl)
|
||||
static FPATH_RETVAL fpathGatewayRoute(BASE_OBJECT *psObj, SDWORD routeMode, SDWORD sx, SDWORD sy,
|
||||
SDWORD fx, SDWORD fy, MOVE_CONTROL *psMoveCntl)
|
||||
{
|
||||
static SDWORD linkx, linky, gwx, gwy, asret, matchPoints;
|
||||
static ASTAR_ROUTE sAStarRoute;
|
||||
|
|
Loading…
Reference in New Issue