diff options
author | rubidium <rubidium@openttd.org> | 2008-05-30 20:08:32 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-30 20:08:32 +0000 |
commit | 387f4cfbe1ecc02f0ab0044771d00b546b950d16 (patch) | |
tree | 8b0dc7d59c8980af5e6a802b0035efabfb9a642c /src/openttd.cpp | |
parent | bae02e8c671b523b671910d75a838aee2cdc57d6 (diff) | |
download | openttd-387f4cfbe1ecc02f0ab0044771d00b546b950d16.tar.xz |
(svn r13344) -Codechange: remove some code duplication.
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r-- | src/openttd.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp index 2e5e4a674..5cf5fb6ea 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -810,10 +810,8 @@ void SwitchMode(int new_mode) if (_networking) { if (_network_server && (new_mode == SM_LOAD || new_mode == SM_NEWGAME)) { NetworkReboot(); - NetworkUDPCloseAll(); } else { NetworkDisconnect(); - NetworkUDPCloseAll(); } } |