forked from hkc/cc-stuff
1
0
Fork 0

wallhack: adjust look direction line color

This commit is contained in:
Vftdan 2023-10-14 15:43:20 +03:00
parent 59e404f9e9
commit cc36335042
1 changed files with 3 additions and 3 deletions

View File

@ -82,13 +82,13 @@ return function()
local entityLookEnd = vec3Add(entityFront, entityLook)
if entityFront.flipped then
cache[id].cube.setColor(0x004040FF)
cache[id].lookLine.setColor(0x004040FF)
cache[id].lookLine.setColor(0x206060FF)
else
cache[id].cube.setColor(0xFFC0C0FF)
cache[id].lookLine.setColor(0xFFC0C0FF)
cache[id].lookLine.setColor(0xE0A0A0FF)
end
cache[id].cube.setAlpha(0x20)
cache[id].lookLine.setAlpha(0x10)
cache[id].lookLine.setAlpha(0x30)
cache[id].cube.setDepthTested(false)
cache[id].frame.setDepthTested(false)
cache[id].lookLine.setDepthTested(false)