Removed unused code

master
E. Almqvist 5 years ago
parent 015a5a0065
commit c389ecb518
  1. 3
      gamemode/engine/lib/sh_node.lua

@ -161,9 +161,6 @@ if SERVER then
else else
local eyepos = pl:GetEyeTraceNoCursor() local eyepos = pl:GetEyeTraceNoCursor()
if( eyepos.Entity == ent ) then if( eyepos.Entity == ent ) then
-- calculate the entities collision bounds height
local p, q = ent:GetCollisionBounds() -- Z is the height
local pos = LerpVector( 0.75, eyepos.StartPos, eyepos.HitPos ) local pos = LerpVector( 0.75, eyepos.StartPos, eyepos.HitPos )
Quantum.Server.Item.SpawnItem( pos, loot, amount ) Quantum.Server.Item.SpawnItem( pos, loot, amount )

Loading…
Cancel
Save