summaryrefslogtreecommitdiff
path: root/src/roadveh.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/roadveh.h')
-rw-r--r--src/roadveh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/roadveh.h b/src/roadveh.h
index 7490d35d8..abed18f05 100644
--- a/src/roadveh.h
+++ b/src/roadveh.h
@@ -8,7 +8,7 @@
static inline bool IsRoadVehInDepot(const Vehicle* v)
{
- assert(v->type == VEH_Road);
+ assert(v->type == VEH_ROAD);
return v->u.road.state == 254;
}