Skip to content

Commit b9839ed

Browse files
committedAug 20, 2020
Color( ... ) to color where possible and similar things
Hopefully nothing broke in the process
1 parent ce61402 commit b9839ed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+109
-110
lines changed
 

‎garrysmod/gamemodes/base/entities/effects/dof_node.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@ function EFFECT:Render()
5050
local SpriteSize = ( self.spacing + self.offset ) * 8
5151

5252
render.SetMaterial( self.Mat )
53-
render.DrawSprite( self:GetPos(), SpriteSize, SpriteSize, Color( 255, 255, 255 ) )
53+
render.DrawSprite( self:GetPos(), SpriteSize, SpriteSize, color_white )
5454

5555
end

‎garrysmod/gamemodes/base/entities/effects/tooltracer.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function EFFECT:Render()
4545
8, -- Width
4646
texcoord, -- Start tex coord
4747
texcoord + self.Length / 128, -- End tex coord
48-
Color( 255, 255, 255 ) ) -- Color (optional)
48+
color_white ) -- Color (optional)
4949
end
5050

5151
render.DrawBeam( self.StartPos,

0 commit comments

Comments
 (0)
Please sign in to comment.