summaryrefslogtreecommitdiff
path: root/src/tunnelbridge.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2015-02-22 14:01:24 +0000
committerfrosch <frosch@openttd.org>2015-02-22 14:01:24 +0000
commite8e49e5ddabf6bdc6c6b6a77a1d2ead377c27444 (patch)
treea6cd6584172b1917357ac22feb2779fd3e18e6f4 /src/tunnelbridge.h
parentff1f465191e9ea1651ad18070f53f8274c8c2f74 (diff)
downloadopenttd-e8e49e5ddabf6bdc6c6b6a77a1d2ead377c27444.tar.xz
(svn r27157) -Fix: Mark bridge middle tiles dirty when building/removing/changing bridges.
Diffstat (limited to 'src/tunnelbridge.h')
-rw-r--r--src/tunnelbridge.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tunnelbridge.h b/src/tunnelbridge.h
index ab8891f62..0a2c2293d 100644
--- a/src/tunnelbridge.h
+++ b/src/tunnelbridge.h
@@ -14,6 +14,9 @@
#include "map_func.h"
+void MarkBridgeDirty(TileIndex begin, TileIndex end, DiagDirection direction, uint bridge_height);
+void MarkBridgeDirty(TileIndex tile);
+
/**
* Calculates the length of a tunnel or a bridge (without end tiles)
* @param begin The begin of the tunnel or bridge.