Quick tidy and optimizations of a few functions

This commit is contained in:
Jim Shield
2025-09-05 14:37:39 +01:00
parent 0caeca4824
commit fffef0c228
6 changed files with 154 additions and 73 deletions

View File

@@ -463,7 +463,7 @@ function PerformRaycast(startCoords, endCoords, entity, flags)
local shapeTest = StartExpensiveSynchronousShapeTestLosProbe(
startCoords.x, startCoords.y, startCoords.z,
endCoords.x, endCoords.y, endCoords.z,
flags or 4294967295, entity, 0
flags or 4294967295, entity, 4
)
return GetShapeTestResult(shapeTest)