Fix bug setting channel window size.

master
Lars Hofhansl 2018-07-13 05:02:08 -07:00
parent 93c0b3b8fb
commit 8d629cf65b
1 changed files with 1 additions and 1 deletions

View File

@ -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"));
}
}