Make sure we fallthrough for the NES cases

This commit is contained in:
Marc Di Luzio 2020-07-19 11:29:28 +01:00
parent c2e3c9f090
commit 5814ac95b8

View file

@ -85,8 +85,11 @@ func (d Bearing) Vector() Vector {
func (d Bearing) IsCardinal() bool {
switch d {
case North:
fallthrough
case East:
fallthrough
case South:
fallthrough
case West:
return true
}