summaryrefslogtreecommitdiff
path: root/vehicle.h
diff options
context:
space:
mode:
authorKUDr <kudr@openttd.org>2006-10-17 16:16:19 +0000
committerKUDr <kudr@openttd.org>2006-10-17 16:16:19 +0000
commitc758f7d812af5b3421938ad0c11ff865d0f5f04b (patch)
tree70880ca0146adbd4518bce82cbad4db6e7dd3b36 /vehicle.h
parentda639420411af786afb8935b3ffa8ae5b7a2bf02 (diff)
downloadopenttd-c758f7d812af5b3421938ad0c11ff865d0f5f04b.tar.xz
(svn r6800) -Feature change: [train is lost] message is now generated immediately when pathfinder can't find the path. (thanks MeusH, peter1138 and Brianetta for ideas and help).
Diffstat (limited to 'vehicle.h')
-rw-r--r--vehicle.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/vehicle.h b/vehicle.h
index 80b31b30d..fc6645ff1 100644
--- a/vehicle.h
+++ b/vehicle.h
@@ -92,6 +92,9 @@ enum {
// used to reverse the visible direction of the vehicle
VRF_REVERSE_DIRECTION = 4,
+
+ // used to mark train as lost because PF can't find the route
+ VRF_NO_PATH_TO_DESTINATION = 5,
};
typedef struct VehicleAir {