File tree Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -117,11 +117,6 @@ var eqNameToWeapon map[string]EquipmentType
117117
118118var eqElementToName map [EquipmentType ]string
119119
120- // EquipmentElementNames returns all human readable equipment names as map[EquipmentType]string
121- func EquipmentElementNames () map [EquipmentType ]string {
122- return eqElementToName
123- }
124-
125120func init () {
126121 initEqNameToWeapon ()
127122 initEqElementToName ()
@@ -285,7 +280,7 @@ const (
285280// This also includes the skin and some additional data.
286281type Equipment struct {
287282 Type EquipmentType // The type of weapon which the equipment instantiates.
288- Entity st.Entity // The game entity instance
283+ Entity st.Entity // The game entity instance
289284 Owner * Player // The player carrying the equipment, not necessarily the buyer.
290285 OriginalString string // E.g. 'models/weapons/w_rif_m4a1_s.mdl'. Used internally to differentiate alternative weapons (M4A4 / M4A1-S etc.).
291286
Original file line number Diff line number Diff line change @@ -55,11 +55,6 @@ var gamePhaseToString = map[GamePhase]string{
5555 GamePhaseGameOver : "GameOver" ,
5656}
5757
58- // GamePhaseNames returns all human readable game phase names as map[GamePhase]string
59- func GamePhaseNames () map [GamePhase ]string {
60- return gamePhaseToString
61- }
62-
6358func (r GamePhase ) String () string {
6459 return gamePhaseToString [r ]
6560}
You can’t perform that action at this time.
0 commit comments