mirror of
https://github.com/ValveSoftware/GameNetworkingSockets.git
synced 2026-05-29 16:20:34 +00:00
Fix missing minus sign.
The code "worked" -- but it did not have the property that there was no optimal strategy in order to get the role you want. We want this role selection to be random/fair.
This commit is contained in:
@@ -2055,7 +2055,7 @@ static int CompareSymmetricConnections( uint32 nConnectionIDA, const std::string
|
||||
|
||||
// Check parity of lowest bit and flip result
|
||||
if ( ( nConnectionIDA ^ nConnectionIDB ) & 1 )
|
||||
result = result;
|
||||
result = -result;
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user