summaryrefslogtreecommitdiff
path: root/src/network/network_func.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_func.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_func.h')
-rw-r--r--src/network/network_func.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/network_func.h b/src/network/network_func.h
index d1b9187bc..e6e6a30fd 100644
--- a/src/network/network_func.h
+++ b/src/network/network_func.h
@@ -17,6 +17,7 @@
#include "../console_type.h"
#include "../gfx_type.h"
#include "../core/smallvec_type.hpp"
+#include "../openttd.h"
#ifdef ENABLE_NETWORK
@@ -56,6 +57,7 @@ bool NetworkCompanyIsPassworded(CompanyID company_id);
bool NetworkMaxCompaniesReached();
bool NetworkMaxSpectatorsReached();
void NetworkPrintClients();
+void NetworkHandlePauseChange(PauseMode prev_mode, PauseMode changed_mode);
/*** Commands ran by the server ***/
void NetworkServerMonthlyLoop();