From 00264cc708971833a7c585fc22f11b81e13eee1d Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 25 Nov 2013 14:34:09 +0000 Subject: (svn r26109) -Fix: missing initialisation --- src/pathfinder/follow_track.hpp | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit v1.2.3-70-g09d2