diff options
author | rubidium <rubidium@openttd.org> | 2011-08-21 12:46:46 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-08-21 12:46:46 +0000 |
commit | 37415b9cf7edaae66ca1fb35665894b9f9241127 (patch) | |
tree | 6803ebb1c7b7f42d6ede002c794347e86f11f382 /src/command.cpp | |
parent | 236075e944b0d80d9e29b411f1936ba09c788c29 (diff) | |
download | openttd-37415b9cf7edaae66ca1fb35665894b9f9241127.tar.xz |
(svn r22785) -Codechange: rename IsGeneratingWorld to HasModalProgress
Diffstat (limited to 'src/command.cpp')
-rw-r--r-- | src/command.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command.cpp b/src/command.cpp index b291ce797..e5357f140 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -500,10 +500,10 @@ bool DoCommandP(TileIndex tile, uint32 p1, uint32 p2, uint32 cmd, CommandCallbac /* Cost estimation is generally only done when the * local user presses shift while doing somthing. * However, in case of incoming network commands, - * map generation of the pause button we do want + * map generation or the pause button we do want * to execute. */ bool estimate_only = _shift_pressed && IsLocalCompany() && - !IsGeneratingWorld() && + !_generating_world && !(cmd & CMD_NETWORK_COMMAND) && (cmd & CMD_ID_MASK) != CMD_PAUSE; |