summaryrefslogtreecommitdiff
path: root/command.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-08-07 10:03:14 +0000
committertron <tron@openttd.org>2005-08-07 10:03:14 +0000
commit2b4e85db0b1f801d9f8af00f9e0f879ba493515c (patch)
treeef39c18d00bd3284668793774053ec519726da06 /command.c
parentdc20e0ae81fe9d7e2d810d8974e8a8e14135a9e4 (diff)
downloadopenttd-2b4e85db0b1f801d9f8af00f9e0f879ba493515c.tar.xz
(svn r2828) Only command.c needs to know about _docommand_recursive, so make it static. Tell me if there's a problem, because i removed it from network_server.c, but afaict it should be ok
Diffstat (limited to 'command.c')
-rw-r--r--command.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/command.c b/command.c
index c31985c7a..627b8e9c5 100644
--- a/command.c
+++ b/command.c
@@ -325,6 +325,8 @@ int32 DoCommandByTile(TileIndex tile, uint32 p1, uint32 p2, uint32 flags, uint p
}
+static int _docommand_recursive;
+
int32 DoCommand(int x, int y, uint32 p1, uint32 p2, uint32 flags, uint procc)
{
int32 res;