summaryrefslogtreecommitdiff
path: root/yapf/follow_track.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'yapf/follow_track.cpp')
-rw-r--r--yapf/follow_track.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/yapf/follow_track.cpp b/yapf/follow_track.cpp
index 9d494bb5b..ad2f0b724 100644
--- a/yapf/follow_track.cpp
+++ b/yapf/follow_track.cpp
@@ -4,6 +4,12 @@
#include "yapf.hpp"
#include "follow_track.hpp"
+void FollowTrackInit(FollowTrack_t *This, const Vehicle* v)
+{
+ CFollowTrackWater& F = *(CFollowTrackWater*) This;
+ F.Init(v, NULL);
+}
+
bool FollowTrackWater(FollowTrack_t *This, TileIndex old_tile, Trackdir old_td)
{
CFollowTrackWater& F = *(CFollowTrackWater*) This;