diff options
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/network.cpp | 2 | ||||
-rw-r--r-- | src/network/network.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/network/network.cpp b/src/network/network.cpp index 7040a4d71..e24da5053 100644 --- a/src/network/network.cpp +++ b/src/network/network.cpp @@ -38,6 +38,8 @@ extern const char _openttd_revision[]; #include "table/strings.h" +bool _network_reload_cfg; + /* Check whether NETWORK_NUM_LANDSCAPES is still in sync with NUM_LANDSCAPE */ assert_compile((int)NETWORK_NUM_LANDSCAPES == (int)NUM_LANDSCAPE); diff --git a/src/network/network.h b/src/network/network.h index 7fd551704..98064dad0 100644 --- a/src/network/network.h +++ b/src/network/network.h @@ -211,6 +211,7 @@ VARDEF bool _network_server; ///< network-server is active VARDEF bool _network_available; ///< is network mode available? VARDEF bool _network_dedicated; ///< are we a dedicated server? VARDEF bool _network_advertise; ///< is the server advertising to the master server? +extern bool _network_reload_cfg; ///< will we reload the entire config for the next game? #else /* ENABLE_NETWORK */ /* Network function stubs when networking is disabled */ |