equal
deleted
inserted
replaced
1 /* $Id$ */ |
1 /* $Id$ */ |
2 |
2 |
3 #include "../stdafx.h" |
3 #include "../stdafx.h" |
4 #include "yapf.hpp" |
4 #include "yapf.hpp" |
5 #include "follow_track.hpp" |
5 #include "follow_track.hpp" |
|
6 |
|
7 void FollowTrackInit(FollowTrack_t *This, const Vehicle* v) |
|
8 { |
|
9 CFollowTrackWater& F = *(CFollowTrackWater*) This; |
|
10 F.Init(v, NULL); |
|
11 } |
6 |
12 |
7 bool FollowTrackWater(FollowTrack_t *This, TileIndex old_tile, Trackdir old_td) |
13 bool FollowTrackWater(FollowTrack_t *This, TileIndex old_tile, Trackdir old_td) |
8 { |
14 { |
9 CFollowTrackWater& F = *(CFollowTrackWater*) This; |
15 CFollowTrackWater& F = *(CFollowTrackWater*) This; |
10 return F.Follow(old_tile, old_td); |
16 return F.Follow(old_tile, old_td); |