mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2025-01-11 18:30:21 +01:00
typo in var name
This commit is contained in:
parent
13fcf68191
commit
8ed3672fb1
6
api.lua
6
api.lua
@ -215,9 +215,9 @@ function line_of_sight(self, pos1, pos2, stepsize)
|
|||||||
|
|
||||||
-- NaN checks
|
-- NaN checks
|
||||||
if d == 0
|
if d == 0
|
||||||
or npos.x ~= npos.x
|
or npos1.x ~= npos1.x
|
||||||
or npos.y ~= npos.y
|
or npos1.y ~= npos1.y
|
||||||
or npos.z ~= npos.z then
|
or npos1.z ~= npos1.z then
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user