|
|
@ -73,7 +73,8 @@ struct CFollowTrackT
|
|
|
|
|
|
|
|
|
|
|
|
inline void Init(Owner o, RailTypes railtype_override, CPerformanceTimer *pPerf)
|
|
|
|
inline void Init(Owner o, RailTypes railtype_override, CPerformanceTimer *pPerf)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
assert((!IsRoadTT() || m_veh != NULL) && (!IsRailTT() || railtype_override != INVALID_RAILTYPES));
|
|
|
|
assert(!IsRoadTT() || m_veh != NULL);
|
|
|
|
|
|
|
|
assert(!IsRailTT() || railtype_override != INVALID_RAILTYPES);
|
|
|
|
m_veh_owner = o;
|
|
|
|
m_veh_owner = o;
|
|
|
|
m_pPerf = pPerf;
|
|
|
|
m_pPerf = pPerf;
|
|
|
|
/* don't worry, all is inlined so compiler should remove unnecessary initializations */
|
|
|
|
/* don't worry, all is inlined so compiler should remove unnecessary initializations */
|
|
|
|