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
						4a574d6e5f
					
				@ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user