Skip to content

Commit 4b56a8c

Browse files
committed
Clarify boolean result of ReorderLevelList()
1 parent d386e05 commit 4b56a8c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/client.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1574,6 +1574,9 @@ int CClient::FindClientChannel ( const int iServerChannelID, const bool bCreateI
15741574
//
15751575
// The list size is checked against the current number of active channels to guard against
15761576
// any unexpected temporary mismatch in size due to potential out-of-order message delivery.
1577+
//
1578+
// This function returns true if the list has been processed and should be passed on,
1579+
// or false if it was the wrong size and should be discarded.
15771580

15781581
bool CClient::ReorderLevelList ( CVector<uint16_t>& vecLevelList )
15791582
{

0 commit comments

Comments
 (0)