diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2017-04-08 18:09:06 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2017-04-08 18:09:06 +0100 |
commit | 8ed3672fb16cfb6aa60cb3a99fb0205f83c7ca5b (patch) | |
tree | 847dce9f4e609134a0c47bb43e2534d95fa61131 | |
parent | 13fcf681910541467b0df18fefb31d2dae9d5451 (diff) |
typo in var name
-rw-r--r-- | api.lua | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -215,9 +215,9 @@ function line_of_sight(self, pos1, pos2, stepsize) -- NaN checks if d == 0 - or npos.x ~= npos.x - or npos.y ~= npos.y - or npos.z ~= npos.z then + or npos1.x ~= npos1.x + or npos1.y ~= npos1.y + or npos1.z ~= npos1.z then return false end |