We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2bbc8c commit e0af985Copy full SHA for e0af985
MLAPI/NetworkingManagerComponents/Binary/BitReader.cs
@@ -171,7 +171,7 @@ private T ReadFloating<T>()
171
}
172
return result;
173
174
- private static long ZigZagDecode(ulong d) => (long)(((d << 63) & 1) | (d >> 1));
+ private static long ZigZagDecode(ulong d) => (long)(((d & 1) << 63) | (d >> 1));
175
176
public void Dispose()
177
{
0 commit comments