diff options
| author | Alexander Pickering <Alexander.Pickering@anondomain.site90.net> | 2016-03-12 21:51:36 -0500 |
|---|---|---|
| committer | Alexander Pickering <Alexander.Pickering@anondomain.site90.net> | 2016-03-12 21:51:36 -0500 |
| commit | 9d4ff294129545d7266f03cd51135d43e1c47967 (patch) | |
| tree | 46053b6a20e8d38d708d190b82e38cd99e1cd556 /gamemode/itemsystem/items/ramp.lua | |
| parent | 12c1327a1878cdcd76524a60673e5cf346b9a3da (diff) | |
| download | wintersurvival2-9d4ff294129545d7266f03cd51135d43e1c47967.tar.gz wintersurvival2-9d4ff294129545d7266f03cd51135d43e1c47967.tar.bz2 wintersurvival2-9d4ff294129545d7266f03cd51135d43e1c47967.zip | |
Fixed bug that caused floors and ramps to not spawn at correct angles
Diffstat (limited to 'gamemode/itemsystem/items/ramp.lua')
| -rw-r--r-- | gamemode/itemsystem/items/ramp.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gamemode/itemsystem/items/ramp.lua b/gamemode/itemsystem/items/ramp.lua index ad44c78..10575e2 100644 --- a/gamemode/itemsystem/items/ramp.lua +++ b/gamemode/itemsystem/items/ramp.lua @@ -42,7 +42,7 @@ function ITEM:OnPrimary(pl,tr) if (tr.Hit) then
local drop = ents.Create("ws_prop")
drop:SetModel("models/props_wasteland/wood_fence01a.mdl")
- local Aim = Angle(0,pl:GetAimVector():Angle().y+90,0)
+ local Aim = Angle(0,pl:GetAimVector():Angle().y+90,45)
local Pos = tr.HitPos
if(pl:KeyDown(IN_SPEED)) then
Pos.x = Pos.x - (Pos.x%20)
|
