summaryrefslogtreecommitdiff
path: root/src/ai
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2009-01-19 12:07:01 +0000
committerpeter1138 <peter1138@openttd.org>2009-01-19 12:07:01 +0000
commitb85389dca5bc9059e34ce035edd5e00b0f3e1a40 (patch)
treebce5d3e203e706fa510f4558be8963ee417bcc3d /src/ai
parente84ff99a8bc1a0d0b4781cc7383f91bc1e2b5d63 (diff)
downloadopenttd-b85389dca5bc9059e34ce035edd5e00b0f3e1a40.tar.xz
(svn r15149) -Codechange: GetMaskOfTownActions() is used by a Cmd handler, therefore it does not belong in _gui.
Diffstat (limited to 'src/ai')
-rw-r--r--src/ai/api/ai_town.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ai/api/ai_town.cpp b/src/ai/api/ai_town.cpp
index bb7dee9f2..ebb575e96 100644
--- a/src/ai/api/ai_town.cpp
+++ b/src/ai/api/ai_town.cpp
@@ -151,8 +151,6 @@
return ::GetTown(town_id)->exclusive_counter;
}
-extern uint GetMaskOfTownActions(int *nump, CompanyID cid, const Town *t);
-
/* static */ bool AITown::IsActionAvailable(TownID town_id, TownAction town_action)
{
if (!IsValidTown(town_id)) return false;