summaryrefslogtreecommitdiff
path: root/src/script/api/script_marine.cpp
diff options
context:
space:
mode:
authorSamuXarick <43006711+SamuXarick@users.noreply.github.com>2021-09-14 21:06:55 +0100
committerGitHub <noreply@github.com>2021-09-14 22:06:55 +0200
commit37de87812994be72399a9588473ece1c514397c0 (patch)
treeb450411376890b3ac8310dcca2f5b9bad3ca830f /src/script/api/script_marine.cpp
parentc6035158ca9df31d12ba28acf2037ff7d5aeb248 (diff)
downloadopenttd-37de87812994be72399a9588473ece1c514397c0.tar.xz
Feature: [AI/GS] Missing water related functions and objects (#8390)
Diffstat (limited to 'src/script/api/script_marine.cpp')
-rw-r--r--src/script/api/script_marine.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/script/api/script_marine.cpp b/src/script/api/script_marine.cpp
index c63add8fa..16f0228db 100644
--- a/src/script/api/script_marine.cpp
+++ b/src/script/api/script_marine.cpp
@@ -167,6 +167,8 @@
case BT_DOCK: return ::GetPrice(PR_BUILD_STATION_DOCK, 1, nullptr);
case BT_DEPOT: return ::GetPrice(PR_BUILD_DEPOT_SHIP, 1, nullptr);
case BT_BUOY: return ::GetPrice(PR_BUILD_WAYPOINT_BUOY, 1, nullptr);
+ case BT_LOCK: return ::GetPrice(PR_BUILD_LOCK, 1, nullptr);
+ case BT_CANAL: return ::GetPrice(PR_BUILD_CANAL, 1, nullptr);
default: return -1;
}
}