diff options
author | Novatux <nathanael.courant@laposte.net> | 2013-11-23 15:35:49 +0100 |
---|---|---|
committer | Novatux <nathanael.courant@laposte.net> | 2013-11-30 18:37:56 +0100 |
commit | d879a539cd19ddd1ee34afec2512fb2238de2822 (patch) | |
tree | 68105678426cb1a498bfe3ba4354506a9a560409 /src/environment.h | |
parent | 752e11e11411d72868a406d35538adc5d1126655 (diff) | |
download | minetest-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.h | 1 |
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); |