(svn r15149) -Codechange: GetMaskOfTownActions() is used by a Cmd handler, therefore it does not belong in _gui.

This commit is contained in:
peter1138
2009-01-19 12:07:01 +00:00
parent e84ff99a8b
commit b85389dca5
4 changed files with 66 additions and 69 deletions

View File

@@ -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;