Skip to content

Commit a3bc604

Browse files
committed
common: document Equipment.ZoomLevel (#118)
1 parent d03783f commit a3bc604

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/equipment.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ type Equipment struct {
268268
AmmoInMagazine int // Amount of bullets in the weapon's magazine
269269
AmmoReserve int // Amount of reserve bullets
270270
OriginalString string // E.g. 'models/weapons/w_rif_m4a1_s.mdl'. Used internally to differentiate alternative weapons (M4A4 / M4A1-S etc.).
271-
ZoomLevel int
271+
ZoomLevel int // How far the player has zoomed in on the weapon. 0=no zoom, 1=first level, 2=maximum zoom
272272

273273
uniqueID int64
274274
}

0 commit comments

Comments
 (0)