roadveh_cmd.c
changeset 3135 3a20ced2e34b
parent 3123 a82dd124b3f2
child 3136 e2682061ef1d
--- a/roadveh_cmd.c	Fri Mar 03 20:48:03 2006 +0000
+++ b/roadveh_cmd.c	Fri Mar 03 20:54:54 2006 +0000
@@ -1111,7 +1111,7 @@
 	assert(trackdir != 0xFF);
 
 	fstd.dest_coords = tile;
-	fstd.station_index = -1;	// indicates that the destination is a tile, not a station
+	fstd.station_index = INVALID_STAION; // indicates that the destination is a tile, not a station
 
 	return NPFRouteToStationOrTile(v->tile, trackdir, &fstd, TRANSPORT_ROAD, v->owner, INVALID_RAILTYPE).best_path_dist;
 }