hlsdk-portable
hlsdk-portable copied to clipboard
vecDir is not normalized in some TraceAttack calls
https://github.com/FWGS/hlsdk-portable/blob/b1644675c40b3dae0f90c4a59b133fe08eac6d6f/dlls/controller.cpp#L1203 https://github.com/FWGS/hlsdk-portable/blob/b1644675c40b3dae0f90c4a59b133fe08eac6d6f/dlls/nihilanth.cpp#L1472 https://github.com/FWGS/hlsdk-portable/blob/b1644675c40b3dae0f90c4a59b133fe08eac6d6f/dlls/combat.cpp#L1360-L1362 https://github.com/FWGS/hlsdk-portable/blob/b1644675c40b3dae0f90c4a59b133fe08eac6d6f/dlls/combat.cpp#L1488-L1490
This doesn't affect much as vecDir is used only in calculation of blood decal trace and (incorrectly) in alien grunt ricochet tracer code.
Do you think it needs a fix?
If it's doesn't break anything why not?