(svn r24383) -Fix: a comment.
This commit is contained in:
@@ -954,7 +954,7 @@ struct RoadDriveEntry {
|
|||||||
|
|
||||||
static bool RoadVehLeaveDepot(RoadVehicle *v, bool first)
|
static bool RoadVehLeaveDepot(RoadVehicle *v, bool first)
|
||||||
{
|
{
|
||||||
/* Don't leave if not all the wagons are in the depot. */
|
/* Don't leave unless v and following wagons are in the depot. */
|
||||||
for (const RoadVehicle *u = v; u != NULL; u = u->Next()) {
|
for (const RoadVehicle *u = v; u != NULL; u = u->Next()) {
|
||||||
if (u->state != RVSB_IN_DEPOT || u->tile != v->tile) return false;
|
if (u->state != RVSB_IN_DEPOT || u->tile != v->tile) return false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user