oh that ain't right
This commit is contained in:
parent
90a4e740f2
commit
3bd3b174c1
|
@ -4,8 +4,8 @@
|
||||||
SWEP.GEN_MagOut = 0
|
SWEP.GEN_MagOut = 0
|
||||||
SWEP.GEN_MagIn = 0.8
|
SWEP.GEN_MagIn = 0.8
|
||||||
|
|
||||||
SWEP.GEN_MagIn_BonusStart = 0.6
|
SWEP.GEN_MagIn_BonusStart = 0.5
|
||||||
SWEP.GEN_MagIn_BonusEnd = 0.7
|
SWEP.GEN_MagIn_BonusEnd = 0.55
|
||||||
|
|
||||||
function SWEP:Reload( hand )
|
function SWEP:Reload( hand )
|
||||||
if hand == nil then return end -- Needs to be called from the custom ones
|
if hand == nil then return end -- Needs to be called from the custom ones
|
||||||
|
|
|
@ -925,7 +925,7 @@ hook.Add( "HUDPaint", "Benny_HUDPaint", function()
|
||||||
local gump1 = math.Round( r_h*(1-b1) )
|
local gump1 = math.Round( r_h*(1-b1) )
|
||||||
local gump2 = math.Round( r_h*(1-b2) )
|
local gump2 = math.Round( r_h*(1-b2) )
|
||||||
surface.SetDrawColor( 255, 100, 100, 100 )
|
surface.SetDrawColor( 255, 100, 100, 100 )
|
||||||
surface.DrawRect( r_x, r_y+gump2, r_w, gump2 )
|
surface.DrawRect( r_x, r_y+gump2, r_w, gump1-gump2 )
|
||||||
surface.SetDrawColor( 255, 100, 100 )
|
surface.SetDrawColor( 255, 100, 100 )
|
||||||
surface.DrawRect( r_x, r_y+gump1, r_w, ss(1) )
|
surface.DrawRect( r_x, r_y+gump1, r_w, ss(1) )
|
||||||
surface.DrawRect( r_x, r_y+gump2, r_w, ss(1) )
|
surface.DrawRect( r_x, r_y+gump2, r_w, ss(1) )
|
||||||
|
|
Loading…
Reference in New Issue