summaryrefslogtreecommitdiff
path: root/src/network/network.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-09 09:59:35 +0000
committerrubidium <rubidium@openttd.org>2009-11-09 09:59:35 +0000
commitc2221885f488b9a7ca52b11e621582d4c60ab80d (patch)
treeb793601f63728bb573ffd9825355792c89d7e315 /src/network/network.cpp
parent37027467567dd0b75bbb932cdab87da3ff24dedd (diff)
downloadopenttd-c2221885f488b9a7ca52b11e621582d4c60ab80d.tar.xz
(svn r18027) -Codechange: make some unneededly global variables static and remove some unused variables
Diffstat (limited to 'src/network/network.cpp')
-rw-r--r--src/network/network.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/network/network.cpp b/src/network/network.cpp
index 5255b30ef..46cf1a4bb 100644
--- a/src/network/network.cpp
+++ b/src/network/network.cpp
@@ -67,7 +67,10 @@ uint32 _frame_counter_max; // To where we may go with our clients
uint32 _frame_counter;
uint32 _last_sync_frame; // Used in the server to store the last time a sync packet was sent to clients.
NetworkAddressList _broadcast_list;
-uint32 _sync_seed_1, _sync_seed_2;
+uint32 _sync_seed_1;
+#ifdef NETWORK_SEND_DOUBLE_SEED
+uint32 _sync_seed_2;
+#endif
uint32 _sync_frame;
bool _network_first_time;
bool _network_udp_server;