src/roadveh.h
changeset 6259 471b91a4b1d8
parent 5786 9bbd2d7f2a30
child 6393 e1e4939d19b5
--- 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;
 }