summaryrefslogtreecommitdiff
path: root/src/command.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-01-08 16:35:45 +0000
committerrubidium <rubidium@openttd.org>2009-01-08 16:35:45 +0000
commitc8c61e36bdfe2de8e3785b6c3912a733f099df3e (patch)
tree9a9133dd8ea3555a253b9e604560b979c9ed0481 /src/command.cpp
parentb34b3865882d87d3ad89403e1691c2a18b1cfb7e (diff)
downloadopenttd-c8c61e36bdfe2de8e3785b6c3912a733f099df3e.tar.xz
(svn r14919) -Feature: distant joining of stations (Frostregen and PhilSophus)
Diffstat (limited to 'src/command.cpp')
-rw-r--r--src/command.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.cpp b/src/command.cpp
index 3956c2c88..2cc944676 100644
--- a/src/command.cpp
+++ b/src/command.cpp
@@ -383,7 +383,7 @@ static int _docommand_recursive = 0;
*/
CommandCost DoCommand(const CommandContainer *container, uint32 flags)
{
- return DoCommand(container->tile, container->p1, container->p2, flags, container->cmd, container->text);
+ return DoCommand(container->tile, container->p1, container->p2, flags, container->cmd & CMD_ID_MASK, container->text);
}
/*!