Skip to content

Commit 1987b97

Browse files
committed
common: make godoc clearer by avoiding iota
1 parent 89ce49f commit 1987b97

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

common/common.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ type Team byte
1313

1414
// Team constants give information about which team a player is on.
1515
const (
16-
TeamUnassigned Team = iota
17-
TeamSpectators
18-
TeamTerrorists
19-
TeamCounterTerrorists
16+
TeamUnassigned Team = 0
17+
TeamSpectators Team = 1
18+
TeamTerrorists Team = 2
19+
TeamCounterTerrorists Team = 3
2020
)
2121

2222
// DemoHeader contains information from a demo's header.

0 commit comments

Comments
 (0)