aboutsummaryrefslogtreecommitdiff
path: root/advtrains_interlocking/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'advtrains_interlocking/init.lua')
-rw-r--r--advtrains_interlocking/init.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/advtrains_interlocking/init.lua b/advtrains_interlocking/init.lua
index 1a0929d..7239674 100644
--- a/advtrains_interlocking/init.lua
+++ b/advtrains_interlocking/init.lua
@@ -3,6 +3,11 @@
advtrains.interlocking = {}
+function advtrains.interlocking.sigd_equal(sigd, cmp)
+ return vector.equals(sigd.p, cmp.p) and sigd.s==cmp.s
+end
+
+
local modpath = minetest.get_modpath(minetest.get_current_modname()) .. DIR_DELIM
dofile(modpath.."database.lua")