v1.7.1
FIXED: * bitmask.MaskBit.ClearFlag now works properly. Whoooops, how long was that typo there?
This commit is contained in:
parent
e5191383a7
commit
3c543a05e7
@ -56,7 +56,7 @@ func (m *MaskBit) AddFlag(flag MaskBit) {
|
||||
// ClearFlag removes MaskBit flag from m.
|
||||
func (m *MaskBit) ClearFlag(flag MaskBit) {
|
||||
|
||||
*m &= flag
|
||||
*m &^= flag
|
||||
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user