(svn r26109) -Fix: missing initialisation

This commit is contained in:
rubidium 2013-11-25 14:34:09 +00:00
parent d709a7f465
commit 8394abb2f5

View File

@ -77,6 +77,8 @@ struct CFollowTrackT
m_veh_owner = o; m_veh_owner = o;
m_pPerf = pPerf; m_pPerf = pPerf;
/* don't worry, all is inlined so compiler should remove unnecessary initializations */ /* 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_tile = INVALID_TILE;
m_new_td_bits = TRACKDIR_BIT_NONE; m_new_td_bits = TRACKDIR_BIT_NONE;
m_exitdir = INVALID_DIAGDIR; m_exitdir = INVALID_DIAGDIR;