(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b.
This commit is contained in:
@@ -171,7 +171,7 @@ protected:
|
||||
|
||||
// rail transport is possible only on compatible rail types
|
||||
if (IsRailTT()) {
|
||||
RailType rail_type = GetTileRailType(m_new_tile, DiagdirToDiagTrackdir(m_exitdir));
|
||||
RailType rail_type = GetTileRailType(m_new_tile, TrackdirToTrack(DiagdirToDiagTrackdir(m_exitdir)));
|
||||
if (((1 << rail_type) & m_veh->u.rail.compatible_railtypes) == 0) {
|
||||
// incompatible rail type
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user