--- a/src/yapf/follow_track.hpp Mon Jul 09 18:57:12 2007 +0000
+++ b/src/yapf/follow_track.hpp Mon Jul 09 19:24:45 2007 +0000
@@ -210,7 +210,7 @@
if (!m_is_tunnel) {
DiagDirection tunnel_enterdir = GetTunnelDirection(m_new_tile);
if (tunnel_enterdir != m_exitdir) {
- EC_NO_WAY;
+ m_err = EC_NO_WAY;
return false;
}
}
@@ -218,7 +218,7 @@
if (!m_is_bridge) {
DiagDirection ramp_enderdir = GetBridgeRampDirection(m_new_tile);
if (ramp_enderdir != m_exitdir) {
- EC_NO_WAY;
+ m_err = EC_NO_WAY;
return false;
}
}