mirror of
https://github.com/dvdvideo1234/TrackAssemblyTool.git
synced 2025-03-04 03:13:32 -05:00
Renamed: Ghost blend method to math its purpose
This commit is contained in:
parent
195f80b484
commit
1f5c86ad7c
@ -86,7 +86,7 @@ local asmlib = trackasmlib; if(not asmlib) then -- Module present
|
||||
------------ CONFIGURE ASMLIB ------------
|
||||
|
||||
asmlib.InitBase("track","assembly")
|
||||
asmlib.SetOpVar("TOOL_VERSION","8.752")
|
||||
asmlib.SetOpVar("TOOL_VERSION","8.753")
|
||||
|
||||
------------ CONFIGURE GLOBAL INIT OPVARS ------------
|
||||
|
||||
|
@ -376,7 +376,7 @@ function TOOL:GetStackAttempts()
|
||||
return (mathClamp(self:GetClientNumber("maxstatts", 0), 0, 10))
|
||||
end
|
||||
|
||||
function TOOL:GetGhostFade()
|
||||
function TOOL:GetGhostBlend()
|
||||
return (mathClamp(self:GetClientNumber("ghostblnd", 0), 0, 1))
|
||||
end
|
||||
|
||||
@ -1700,7 +1700,7 @@ function TOOL:UpdateGhostSpawn(stTrace, oPly)
|
||||
end
|
||||
|
||||
function TOOL:UpdateGhost(oPly)
|
||||
local ghostblnd = self:GetGhostFade()
|
||||
local ghostblnd = self:GetGhostBlend()
|
||||
if(not asmlib.FadeGhosts(true, ghostblnd)) then return end
|
||||
if(self:GetGhostsCount() <= 0) then return end
|
||||
local stTrace = asmlib.GetCacheTrace(oPly)
|
||||
|
Loading…
Reference in New Issue
Block a user