Skip to content

Commit ee4eb87

Browse files
committed
Remove reset and init of Transport before a local IP has been set.
1 parent 40abaa2 commit ee4eb87

File tree

2 files changed

+0
-6
lines changed
  • GeneralsMD/Code/GameEngine/Source/GameNetwork
  • Generals/Code/GameEngine/Source/GameNetwork

2 files changed

+0
-6
lines changed

Generals/Code/GameEngine/Source/GameNetwork/LANAPI.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,6 @@ void LANAPI::init( void )
100100
{
101101
m_gameStartTime = 0;
102102
m_gameStartSeconds = 0;
103-
m_transport->reset();
104-
m_transport->init(m_localIP, lobbyPort);
105-
m_transport->allowBroadcasts(true);
106103

107104
m_pendingAction = ACT_NONE;
108105
m_expiration = 0;

GeneralsMD/Code/GameEngine/Source/GameNetwork/LANAPI.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,6 @@ void LANAPI::init( void )
100100
{
101101
m_gameStartTime = 0;
102102
m_gameStartSeconds = 0;
103-
m_transport->reset();
104-
m_transport->init(m_localIP, lobbyPort);
105-
m_transport->allowBroadcasts(true);
106103

107104
m_pendingAction = ACT_NONE;
108105
m_expiration = 0;

0 commit comments

Comments
 (0)