equal
deleted
inserted
replaced
262 return false; |
262 return false; |
263 } |
263 } |
264 } |
264 } |
265 |
265 |
266 // tunnel holes and bridge ramps can be entered only from proper direction |
266 // tunnel holes and bridge ramps can be entered only from proper direction |
267 if (!IsWaterTT() && IsTileType(m_new_tile, MP_TUNNELBRIDGE)) { |
267 if (IsTileType(m_new_tile, MP_TUNNELBRIDGE)) { |
268 if (IsTunnel(m_new_tile)) { |
268 if (IsTunnel(m_new_tile)) { |
269 if (!m_is_tunnel) { |
269 if (!m_is_tunnel) { |
270 DiagDirection tunnel_enterdir = GetTunnelBridgeDirection(m_new_tile); |
270 DiagDirection tunnel_enterdir = GetTunnelBridgeDirection(m_new_tile); |
271 if (tunnel_enterdir != m_exitdir) { |
271 if (tunnel_enterdir != m_exitdir) { |
272 m_err = EC_NO_WAY; |
272 m_err = EC_NO_WAY; |