diff options
author | Lars Hofhansl <larsh@apache.org> | 2018-07-13 05:02:08 -0700 |
---|---|---|
committer | Lars Hofhansl <larsh@apache.org> | 2018-07-13 05:02:08 -0700 |
commit | 8d629cf65bedde30f94a6b611a8ce339213f9774 (patch) | |
tree | 1e2585a4f801efcd50ece1cee8bce1172b9c427a /src/network | |
parent | 93c0b3b8fbe0fbed45374df1818cfeb571976350 (diff) | |
download | minetest-8d629cf65bedde30f94a6b611a8ce339213f9774.tar.gz minetest-8d629cf65bedde30f94a6b611a8ce339213f9774.tar.bz2 minetest-8d629cf65bedde30f94a6b611a8ce339213f9774.zip |
Fix bug setting channel window size.
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/connection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/connection.cpp b/src/network/connection.cpp index a9f8ee082..d4f0b6341 100644 --- a/src/network/connection.cpp +++ b/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")); } } |