summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSokomine <wegwerf@anarres.dyndns.org>2015-04-09 16:55:00 +0200
committerSokomine <wegwerf@anarres.dyndns.org>2015-04-09 16:55:00 +0200
commitf9ede8b64d68332826675055c02488d62629c1b2 (patch)
tree740f582a3719e5de403977453fce4693de794da0
parent30c7fea0cde74bcad178f0af5430911fe69a800d (diff)
fixed bug related to sorting areas
-rw-r--r--areas.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/areas.lua b/areas.lua
index 5840351..8daa0fa 100644
--- a/areas.lua
+++ b/areas.lua
@@ -3,7 +3,7 @@
-- Temporary compatibility function - see minetest PR#1180
if not vector.interpolate then
- vector.interpolate = function(pos1, pos2)
+ vector.interpolate = function(pos1, pos2, factor)
return {x = pos1.x + (pos2.x - pos1.x) * factor,
y = pos1.y + (pos2.y - pos1.y) * factor,
z = pos1.z + (pos2.z - pos1.z) * factor}