summaryrefslogtreecommitdiff
path: root/src/network/network_type.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-12 20:33:30 +0000
committerrubidium <rubidium@openttd.org>2009-11-12 20:33:30 +0000
commit2a1cab4d46260dfe7930503ca0c3e45f1679269f (patch)
treed780cba22549f152f6524671b198c6abf30becbf /src/network/network_type.h
parent934e6a295d16055d1bcc6ffbbdf6f2b89d36bbe6 (diff)
downloadopenttd-2a1cab4d46260dfe7930503ca0c3e45f1679269f.tar.xz
(svn r18052) -Codechange/Fix: make the 'pause' chat message when actually executing the pause command. This to prevent showing paused and especially unpaused to be shown when the state doesn't change. Output now mentions whether pause changes keep the game paused and what reasons for pausing there 'currently' are.
Diffstat (limited to 'src/network/network_type.h')
-rw-r--r--src/network/network_type.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/network/network_type.h b/src/network/network_type.h
index 0daaca0e0..4d5fcee69 100644
--- a/src/network/network_type.h
+++ b/src/network/network_type.h
@@ -86,15 +86,6 @@ enum NetworkAction {
NETWORK_ACTION_COMPANY_NEW,
};
-/** Messages the server can give */
-enum NetworkServerMessage {
- NETWORK_SERVER_MESSAGE_GAME_PAUSED_PLAYERS, ///< Game paused (not enough players)
- NETWORK_SERVER_MESSAGE_GAME_UNPAUSED_PLAYERS, ///< Game unpaused (enough players)
- NETWORK_SERVER_MESSAGE_GAME_PAUSED_CONNECT, ///< Game paused (connecting clients)
- NETWORK_SERVER_MESSAGE_GAME_UNPAUSED_CONNECT, ///< Game unpaused (no connecting clients)
- NETWORK_SERVER_MESSAGE_END
-};
-
enum NetworkErrorCode {
NETWORK_ERROR_GENERAL, // Try to use this one like never