diff options
author | rubidium <rubidium@openttd.org> | 2010-01-11 20:32:32 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-01-11 20:32:32 +0000 |
commit | ebe99fd4935d54466730095e7a9f239181d5ba7b (patch) | |
tree | adaacb8e6827eaad9ad49c81905a04dca0bf8c21 /src/command.cpp | |
parent | 3e5a87a52cc8355a2a5c2831c60643bf30d41a3a (diff) | |
download | openttd-ebe99fd4935d54466730095e7a9f239181d5ba7b.tar.xz |
(svn r18784) -Codechange: make NetworkSend_Command accept a company instead of using _local_company to pass that information, with the whole mess when you don't want the company to be _local_company.
Diffstat (limited to 'src/command.cpp')
-rw-r--r-- | src/command.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.cpp b/src/command.cpp index 2dbd53d65..d0c85adad 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -589,7 +589,7 @@ bool DoCommandP(TileIndex tile, uint32 p1, uint32 p2, uint32 cmd, CommandCallbac * send it to the command-queue and abort execution */ if (_networking && !(cmd & CMD_NETWORK_COMMAND)) { - NetworkSend_Command(tile, p1, p2, cmd & ~CMD_FLAGS_MASK, callback, text); + NetworkSend_Command(tile, p1, p2, cmd & ~CMD_FLAGS_MASK, callback, text, _current_company); _docommand_recursive = 0; ClearStorageChanges(false); return true; |