Permalink
Browse files
Fix bug setting channel window size.
- Loading branch information...
Showing
with
1 addition
and
1 deletion.
-
+1
−1
src/network/connection.cpp
|
@@ -921,7 +921,7 @@ void UDPPeer::setNonLegacyPeer() |
|
|
|
m_legacy_peer = false; |
|
|
|
for(unsigned int i=0; i< CHANNEL_COUNT; i++) |
|
|
|
{ |
|
|
|
channels->setWindowSize(g_settings->getU16("max_packets_per_iteration")); |
|
|
|
channels[i].setWindowSize(g_settings->getU16("max_packets_per_iteration")); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
0 comments on commit
8d629cf