Formatting #2 (#59)

This commit is contained in:
Kamron Batman 2019-10-05 00:37:03 -07:00 committed by GitHub
parent 096d39609e
commit 8e9221bb5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
400 changed files with 3688 additions and 5969 deletions

View file

@ -197,7 +197,7 @@ namespace Server
m_StaticTiles[x][y] = value;
if (m_StaticPatches[x] == null)
m_StaticPatches[x] = new int[(BlockHeight + 31) >> 5];
m_StaticPatches[x] = new int[BlockHeight + 31 >> 5];
m_StaticPatches[x][y >> 5] |= 1 << (y & 0x1F);
}
@ -235,7 +235,7 @@ namespace Server
{
int[] theirBits = shared.m_StaticPatches[x];
if (theirBits != null && (theirBits[y >> 5] & (1 << (y & 0x1F))) != 0)
if (theirBits != null && (theirBits[y >> 5] & 1 << (y & 0x1F)) != 0)
tiles = null;
}
}
@ -293,7 +293,7 @@ namespace Server
m_LandTiles[x][y] = value;
if (m_LandPatches[x] == null)
m_LandPatches[x] = new int[(BlockHeight + 31) >> 5];
m_LandPatches[x] = new int[BlockHeight + 31 >> 5];
m_LandPatches[x][y >> 5] |= 1 << (y & 0x1F);
}
@ -331,7 +331,7 @@ namespace Server
{
int[] theirBits = shared.m_LandPatches[x];
if (theirBits != null && (theirBits[y >> 5] & (1 << (y & 0x1F))) != 0)
if (theirBits != null && (theirBits[y >> 5] & 1 << (y & 0x1F)) != 0)
tiles = null;
}
}