src/roadveh.h
branchgamebalance
changeset 9895 7bd07f43b0e3
parent 6037 7409c8f581e1
child 6307 f40e88cff863
child 6719 4cc327ad39d5
child 6889 f7f6d9cb07a0
equal deleted inserted replaced
9894:70d78ac95d6c 9895:7bd07f43b0e3
     6 #include "vehicle.h"
     6 #include "vehicle.h"
     7 
     7 
     8 
     8 
     9 static inline bool IsRoadVehInDepot(const Vehicle* v)
     9 static inline bool IsRoadVehInDepot(const Vehicle* v)
    10 {
    10 {
    11 	assert(v->type == VEH_Road);
    11 	assert(v->type == VEH_ROAD);
    12 	return v->u.road.state == 254;
    12 	return v->u.road.state == 254;
    13 }
    13 }
    14 
    14 
    15 static inline bool IsRoadVehInDepotStopped(const Vehicle* v)
    15 static inline bool IsRoadVehInDepotStopped(const Vehicle* v)
    16 {
    16 {