summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-07-07 15:37:29 +0000
committerfrosch <frosch@openttd.org>2012-07-07 15:37:29 +0000
commit8d004f3c63fbff4f3524f770483db90408a98c50 (patch)
treebebeac51ca9f60381df9840720aa9ba953ef979e
parent22632d5e9ae1851e4e59788b6d70640b0d7de7ea (diff)
downloadopenttd-8d004f3c63fbff4f3524f770483db90408a98c50.tar.xz
(svn r24383) -Fix: a comment.
-rw-r--r--src/roadveh_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/roadveh_cmd.cpp b/src/roadveh_cmd.cpp
index 1798e75a3..eed844dfe 100644
--- a/src/roadveh_cmd.cpp
+++ b/src/roadveh_cmd.cpp
@@ -954,7 +954,7 @@ struct RoadDriveEntry {
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()) {
if (u->state != RVSB_IN_DEPOT || u->tile != v->tile) return false;
}