summaryrefslogtreecommitdiff
path: root/src/script/api/script_tunnel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/api/script_tunnel.cpp')
-rw-r--r--src/script/api/script_tunnel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/script/api/script_tunnel.cpp b/src/script/api/script_tunnel.cpp
index 97085688f..7b891f28d 100644
--- a/src/script/api/script_tunnel.cpp
+++ b/src/script/api/script_tunnel.cpp
@@ -15,6 +15,8 @@
#include "../script_instance.hpp"
#include "../../tunnel_map.h"
+#include "../../safeguards.h"
+
/* static */ bool ScriptTunnel::IsTunnelTile(TileIndex tile)
{
if (!::IsValidTile(tile)) return false;