1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-26 16:09:10 +00:00

(svn r3249) Fix for issue introduced in r3228. The original code was good for raising, then for lowering, now for both.

This commit is contained in:
2005-11-30 07:31:54 +00:00
parent fde99748c0
commit 6ed22fb3d4

View File

@@ -111,7 +111,10 @@ static int TerraformProc(TerraformerState *ts, TileIndex tile, int mode)
// 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) {