You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: game_state.go
+11-4Lines changed: 11 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,7 @@ type GameState struct {
17
17
playersByEntityIDmap[int]*common.Player// Maps entity-IDs to players
18
18
grenadeProjectilesmap[int]*common.GrenadeProjectile// Maps entity-IDs to active nade-projectiles. That's grenades that have been thrown, but have not yet detonated.
19
19
infernosmap[int]*common.Inferno// Maps entity-IDs to active infernos.
20
+
weaponsmap[int]*common.Equipment// Maps entity IDs to weapons. Used to remember what a weapon is (p250 / cz etc.)
20
21
entitiesmap[int]*st.Entity// Maps entity IDs to entities
0 commit comments