Changeset - r2726:4a845b005405
[Not reviewed]
master
0 1 0
hackykid - 18 years ago 2005-12-08 09:12:25
hackykid@openttd.org
(svn r3271) Remove some debug statements of mine which somehow got into svn.
1 file changed with 0 insertions and 5 deletions:
npf.c
5
0 comments (0 inline, 0 general)
npf.c
Show inline comments
 
@@ -593,17 +593,12 @@ static int32 NPFFindDepot(AyStar* as, Op
 
static int32 NPFFindStationOrTile(AyStar* as, OpenListNode *current)
 
{
 
	NPFFindStationOrTileData* fstd = (NPFFindStationOrTileData*)as->user_target;
 
	AyStarNode *node = &current->path.node;
 
	TileIndex tile = node->tile;
 

	
 
	if (tile == 0x4611c) {
 
		tile++;
 
		tile--;
 
	}
 

	
 
	/* If GetNeighbours said we could get here, we assume the station type
 
	 * is correct */
 
	if (
 
		(fstd->station_index == -1 && tile == fstd->dest_coords) || /* We've found the tile, or */
 
		(IsTileType(tile, MP_STATION) && _m[tile].m2 == fstd->station_index) || /* the station */
 
		(NPFGetFlag(node, NPF_FLAG_PBS_TARGET_SEEN)) /* or, we've passed it already (for pbs) */
0 comments (0 inline, 0 general)