changeset 6259 | 471b91a4b1d8 |
parent 6154 | 8f4c65bdf930 |
child 6683 | b88ae30866ce |
--- a/src/yapf/follow_track.hpp Thu Mar 08 15:50:07 2007 +0000 +++ b/src/yapf/follow_track.hpp Thu Mar 08 16:27:54 2007 +0000 @@ -22,7 +22,7 @@ FORCEINLINE void Init(const Vehicle* v, CPerformanceTimer* pPerf) { - assert(!IsRailTT() || (v != NULL && v->type == VEH_Train)); + assert(!IsRailTT() || (v != NULL && v->type == VEH_TRAIN)); m_veh = v; m_pPerf = pPerf; // don't worry, all is inlined so compiler should remove unnecessary initializations