diff --git a/src/channel.cpp b/src/channel.cpp index 86c21636..a5c500f6 100755 --- a/src/channel.cpp +++ b/src/channel.cpp @@ -334,7 +334,8 @@ void CChannelSet::GetBlockAllConC ( CVector& vecChanID, // The second index of "vecvecdGains" does not represent // the channel ID! Therefore we have to use "vecChanID" to // query the IDs of the currently connected channels - vecvecdGains[i][j] = vecChannels[i].GetGain( vecChanID[j] ); + vecvecdGains[i][j] = + vecChannels[ vecChanID[i] ].GetGain( vecChanID[j] ); } }