From c389ecb518749f65e9bf2c743ffa670957de0c33 Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Mon, 17 Feb 2020 18:42:19 +0100 Subject: [PATCH] Removed unused code --- gamemode/engine/lib/sh_node.lua | 3 --- 1 file changed, 3 deletions(-) diff --git a/gamemode/engine/lib/sh_node.lua b/gamemode/engine/lib/sh_node.lua index c297834..3bbb9b6 100644 --- a/gamemode/engine/lib/sh_node.lua +++ b/gamemode/engine/lib/sh_node.lua @@ -161,9 +161,6 @@ if SERVER then else local eyepos = pl:GetEyeTraceNoCursor() 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 ) Quantum.Server.Item.SpawnItem( pos, loot, amount )