(svn r5033) -CodeChange: [YAPF] RoadFindPathToStop() can now use YAPF for multistop handling.

This commit is contained in:
KUDr
2006-05-30 10:53:27 +00:00
parent ed48b38619
commit d72ebf6ca3
6 changed files with 88 additions and 15 deletions

View File

@@ -13,12 +13,12 @@ struct CFollowTrackT : public FollowTrack_t
{
CPerformanceTimer* m_pPerf;
FORCEINLINE CFollowTrackT(Vehicle* v = NULL, CPerformanceTimer* pPerf = NULL)
FORCEINLINE CFollowTrackT(const Vehicle* v = NULL, CPerformanceTimer* pPerf = NULL)
{
Init(v, pPerf);
}
FORCEINLINE void Init(Vehicle* v, CPerformanceTimer* pPerf)
FORCEINLINE void Init(const Vehicle* v, CPerformanceTimer* pPerf)
{
assert(!IsRailTT() || (v != NULL && v->type == VEH_Train));
m_veh = v;