summaryrefslogtreecommitdiff
path: root/src/waypoint.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-01-16 01:18:15 +0000
committersmatz <smatz@openttd.org>2008-01-16 01:18:15 +0000
commit9556623281832d25d73b2f65ff6a66f4680ed866 (patch)
treed2832ab2fdd3e69fe8370853e648a983e902b0b9 /src/waypoint.cpp
parent40a7ace4fa87ecc8230d0972ec00f182ecea2cf1 (diff)
downloadopenttd-9556623281832d25d73b2f65ff6a66f4680ed866.tar.xz
(svn r11871) -Fix [FS#1074]: do not update signals after each tile when building/removing a large block of track/signals/station
Diffstat (limited to 'src/waypoint.cpp')
-rw-r--r--src/waypoint.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/waypoint.cpp b/src/waypoint.cpp
index 1af10cb07..04b7de41c 100644
--- a/src/waypoint.cpp
+++ b/src/waypoint.cpp
@@ -297,7 +297,7 @@ CommandCost RemoveTrainWaypoint(TileIndex tile, uint32 flags, bool justremove)
MarkTileDirtyByTile(tile);
} else {
DoClearSquare(tile);
- SetSignalsOnBothDir(tile, track, owner);
+ AddTrackToSignalBuffer(tile, track, owner);
}
YapfNotifyTrackLayoutChange(tile, track);
}