summaryrefslogtreecommitdiff
path: root/src/pathfinder/follow_track.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pathfinder/follow_track.hpp')
-rw-r--r--src/pathfinder/follow_track.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pathfinder/follow_track.hpp b/src/pathfinder/follow_track.hpp
index 629fb9654..7cc7c7248 100644
--- a/src/pathfinder/follow_track.hpp
+++ b/src/pathfinder/follow_track.hpp
@@ -77,6 +77,8 @@ struct CFollowTrackT
m_veh_owner = o;
m_pPerf = pPerf;
/* don't worry, all is inlined so compiler should remove unnecessary initializations */
+ m_old_tile = INVALID_TILE;
+ m_old_td = INVALID_TRACKDIR;
m_new_tile = INVALID_TILE;
m_new_td_bits = TRACKDIR_BIT_NONE;
m_exitdir = INVALID_DIAGDIR;