Skip to content

Commit 5441a8b

Browse files
committed
formatting: remove unnecessary parentheses
1 parent b8cb24c commit 5441a8b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

datatables.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ import (
1313

1414
const (
1515
maxEdictBits = 11
16-
entityHandleIndexMask = ((1 << maxEdictBits) - 1)
16+
entityHandleIndexMask = (1 << maxEdictBits) - 1
1717
entityHandleSerialNumberBits = 10
1818
entityHandleBits = maxEdictBits + entityHandleSerialNumberBits
1919
invalidEntityHandle = (1 << entityHandleBits) - 1
20-
maxEntities = (1 << maxEdictBits)
20+
maxEntities = 1 << maxEdictBits
2121
maxPlayers = 64
2222
maxWeapons = 64
2323
)

0 commit comments

Comments
 (0)