yapf/follow_track.hpp
changeset 3912 08c70885ec45
parent 3900 2c84ed52709d
child 3915 914d45c135c7
--- a/yapf/follow_track.hpp	Mon May 29 11:37:39 2006 +0000
+++ b/yapf/follow_track.hpp	Mon May 29 15:04:42 2006 +0000
@@ -85,7 +85,7 @@
 	FORCEINLINE bool QueryNewTileTrackStatus()
 	{
 		CPerfStart perf(*m_pPerf);
-		if (GetTileType(m_new_tile) == MP_RAILWAY && IsPlainRailTile(m_new_tile)) {
+		if (IsRailTT() && GetTileType(m_new_tile) == MP_RAILWAY && IsPlainRailTile(m_new_tile)) {
 			m_new_td_bits = (TrackdirBits)(GetTrackBits(m_new_tile) * 0x101);
 		} else {
 			uint32 ts = GetTileTrackStatus(m_new_tile, TT());