(svn r3249) Fix for issue introduced in r3228. The original code was good for raising, then for lowering, now for both.
--- a/clear_cmd.c Tue Nov 29 22:29:59 2005 +0000
+++ b/clear_cmd.c Wed Nov 30 07:31:54 2005 +0000
@@ -111,7 +111,10 @@
// If we have a single diagonal track there, the other side of
// tile can be terraformed.
- if ((_m[tile].m5 & ~0x40) == _railway_modes[mode]) skip_clear = true;
+ if ((_m[tile].m5 & ~0x40) == _railway_modes[mode]) {
+ if (ts->direction == 1) return 0;
+ skip_clear = true;
+ }
}
if (!skip_clear) {