diff options
author | rubidium <rubidium@openttd.org> | 2013-11-25 14:34:09 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2013-11-25 14:34:09 +0000 |
commit | 00264cc708971833a7c585fc22f11b81e13eee1d (patch) | |
tree | d2c9736484b9602de3a963ec47052502bb6bc652 | |
parent | defda16eb60a87b3878ab27178df7552c3148808 (diff) | |
download | openttd-00264cc708971833a7c585fc22f11b81e13eee1d.tar.xz |
(svn r26109) -Fix: missing initialisation
-rw-r--r-- | src/pathfinder/follow_track.hpp | 2 |
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; |