aboutsummaryrefslogtreecommitdiff
path: root/gamemode/itemsystem/item_common.lua
diff options
context:
space:
mode:
Diffstat (limited to 'gamemode/itemsystem/item_common.lua')
-rw-r--r--gamemode/itemsystem/item_common.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/gamemode/itemsystem/item_common.lua b/gamemode/itemsystem/item_common.lua
index b4b7cce..acfc3e5 100644
--- a/gamemode/itemsystem/item_common.lua
+++ b/gamemode/itemsystem/item_common.lua
@@ -1,6 +1,5 @@
if CLIENT then
ART.DropItem = function(item)
- local i = item
print("Trying to drop item, Item was ")
PrintTable(item)
return function()
@@ -46,8 +45,8 @@ else
local row,col,n = ply:HasItem(gencompareto(item))
print("row",row,"col",col,"n",n)
--To find out where to drop the item, go out from player's view, then down.
- local pes = ply:GetPos()+Vector(0,0,64)
- local pee = ply:GetForward()*50 + Vector(0,0,64) + ply:GetPos()
+ local pes = ply:GetPos() + Vector(0,0,64)
+ local pee = ply:GetForward() * 50 + Vector(0,0,64) + ply:GetPos()
local tr1d = {
["start"] = pes,
["endpos"] = pee,