mirror of
https://gitlab.com/MaddoScientisto/cirnofarm.git
synced 2026-06-16 08:43:47 +00:00
Tweaks
This commit is contained in:
parent
a352a671b9
commit
c01ab2333c
2 changed files with 10 additions and 10 deletions
|
|
@ -332,7 +332,7 @@ function raycast(x1, y1, x2, y2, max_distance)
|
|||
-- limit the maximum distance
|
||||
if distance > max_distance then
|
||||
--return x2, y2, false
|
||||
return px, py, false
|
||||
return x1, y1, false
|
||||
end
|
||||
|
||||
-- checking the start point
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue