aboutsummaryrefslogtreecommitdiff
path: root/src/environment.h
diff options
context:
space:
mode:
authorNovatux <nathanael.courant@laposte.net>2013-11-23 15:35:49 +0100
committerNovatux <nathanael.courant@laposte.net>2013-11-30 18:37:56 +0100
commitd879a539cd19ddd1ee34afec2512fb2238de2822 (patch)
tree68105678426cb1a498bfe3ba4354506a9a560409 /src/environment.h
parent752e11e11411d72868a406d35538adc5d1126655 (diff)
downloadminetest-d879a539cd19ddd1ee34afec2512fb2238de2822.tar.gz
minetest-d879a539cd19ddd1ee34afec2512fb2238de2822.tar.bz2
minetest-d879a539cd19ddd1ee34afec2512fb2238de2822.zip
Add minetest.swap_node
Diffstat (limited to 'src/environment.h')
-rw-r--r--src/environment.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/environment.h b/src/environment.h
index 86654937d..9f9a0a23c 100644
--- a/src/environment.h
+++ b/src/environment.h
@@ -283,6 +283,7 @@ public:
// Script-aware node setters
bool setNode(v3s16 p, const MapNode &n);
bool removeNode(v3s16 p);
+ bool swapNode(v3s16 p, const MapNode &n);
// Find all active objects inside a radius around a point
std::set<u16> getObjectsInsideRadius(v3f pos, float radius);