File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -308,7 +308,7 @@ func (p *Parser) bindWeapons() {
308308}
309309
310310// bindGrenadeProjectiles keeps track of the location of live grenades (Parser.gameState.grenadeProjectiles), actively thrown by players.
311- // It does track the location of grenades lying on the ground, i.e. that were dropped by dead players.
311+ // It does NOT track the location of grenades lying on the ground, i.e. that were dropped by dead players.
312312func (p * Parser ) bindGrenadeProjectiles (event st.EntityCreatedEvent ) {
313313 p .gameState .grenadeProjectiles [event .Entity .ID ] = common .NewGrenadeProjectile ()
314314
@@ -330,10 +330,6 @@ func (p *Parser) bindGrenadeProjectiles(event st.EntityCreatedEvent) {
330330
331331 thrower := p .entityIDToPlayers [throwerIndex ]
332332 proj .Thrower = thrower
333-
334- if proj .Thrower == nil && thrower != nil {
335- proj .Position = thrower .Position
336- }
337333 })
338334
339335 event .Entity .FindProperty ("m_hOwnerEntity" ).OnUpdate (func (val st.PropValue ) {
You can’t perform that action at this time.
0 commit comments