--- a/src/roadveh.h Thu Mar 08 15:50:07 2007 +0000
+++ b/src/roadveh.h Thu Mar 08 16:27:54 2007 +0000
@@ -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;
}