summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-02-25 00:48:04 +0000
committerrubidium <rubidium@openttd.org>2009-02-25 00:48:04 +0000
commitb2def946078e4e6f8f0158eb61a52f1863871570 (patch)
tree4d94c108e5e4a8d42881cca55a746b57170b90be /src
parent7e818f0456b9e771786db9f7e9706a01e3243cf2 (diff)
downloadopenttd-b2def946078e4e6f8f0158eb61a52f1863871570.tar.xz
(svn r15577) -Codechange: bool _networking belongs in network/ not gfx.cpp
Diffstat (limited to 'src')
-rw-r--r--src/gfx.cpp1
-rw-r--r--src/network/network.cpp1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/gfx.cpp b/src/gfx.cpp
index 033841e3d..07cb70bac 100644
--- a/src/gfx.cpp
+++ b/src/gfx.cpp
@@ -36,7 +36,6 @@ bool _right_button_clicked; ///< Is right mouse button clicked?
DrawPixelInfo _screen;
bool _screen_disable_anim = false; ///< Disable palette animation (important for 32bpp-anim blitter during giant screenshot)
bool _exit_game;
-bool _networking; ///< are we in networking mode?
GameMode _game_mode;
SwitchMode _switch_mode; ///< The next mainloop command.
int8 _pause_game;
diff --git a/src/network/network.cpp b/src/network/network.cpp
index 9cd974aa2..97ac48d35 100644
--- a/src/network/network.cpp
+++ b/src/network/network.cpp
@@ -43,6 +43,7 @@ DECLARE_POSTFIX_INCREMENT(ClientID);
typedef ClientIndex NetworkClientInfoID;
DEFINE_OLD_POOL_GENERIC(NetworkClientInfo, NetworkClientInfo);
+bool _networking; ///< are we in networking mode?
bool _network_server; ///< network-server is active
bool _network_available; ///< is network mode available?
bool _network_dedicated; ///< are we a dedicated server?