diff options
author | rubidium <rubidium@openttd.org> | 2009-01-07 14:58:43 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-01-07 14:58:43 +0000 |
commit | 505641833633f19b64080b652afe99328e726d42 (patch) | |
tree | 1d38a81e79537c236e726e6db92d13409cf818e3 /src/command.cpp | |
parent | ac5c5fc2db70e6617e22c4e37f2b7cb9bae3d0a5 (diff) | |
download | openttd-505641833633f19b64080b652afe99328e726d42.tar.xz |
(svn r14896) -Codechange: remove an unused constant and the related dead code.
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 37834fb66..03a7d3c80 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -517,7 +517,7 @@ bool DoCommandP(TileIndex tile, uint32 p1, uint32 p2, uint32 cmd, CommandCallbac if (!IsGeneratingWorld() && _shift_pressed && IsLocalCompany() && - !(cmd & (CMD_NETWORK_COMMAND | CMD_SHOW_NO_ERROR)) && + !(cmd & CMD_NETWORK_COMMAND) && cmd_id != CMD_PAUSE) { /* estimate the cost. */ SetTownRatingTestMode(true); |