mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-19 18:35:48 +01: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:
parent
fde99748c0
commit
6ed22fb3d4
@ -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
|
// If we have a single diagonal track there, the other side of
|
||||||
// tile can be terraformed.
|
// 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) {
|
if (!skip_clear) {
|
||||||
|
Loading…
Reference in New Issue
Block a user