summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_town.cpp
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
commit481c2164d0edebe826d40894fc05a579dbcff5f9 (patch)
treebce5d3e203e706fa510f4558be8963ee417bcc3d /src/ai/api/ai_town.cpp
parent8fabd3982dfcce450913bfe09850a44c37663137 (diff)
downloadopenttd-481c2164d0edebe826d40894fc05a579dbcff5f9.tar.xz
(svn r15149) -Codechange: GetMaskOfTownActions() is used by a Cmd handler, therefore it does not belong in _gui.
Diffstat (limited to 'src/ai/api/ai_town.cpp')
-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;