diff options
author | rubidium <rubidium@openttd.org> | 2009-02-25 00:48:04 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-02-25 00:48:04 +0000 |
commit | 66a8c0a1325e1f8717150dc6bbe1bcb4fb458bef (patch) | |
tree | 4d94c108e5e4a8d42881cca55a746b57170b90be | |
parent | 3bb872e7dd8ec9318cd60bb9ca417b4d80f8fc34 (diff) | |
download | openttd-66a8c0a1325e1f8717150dc6bbe1bcb4fb458bef.tar.xz |
(svn r15577) -Codechange: bool _networking belongs in network/ not gfx.cpp
-rw-r--r-- | src/gfx.cpp | 1 | ||||
-rw-r--r-- | src/network/network.cpp | 1 |
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? |