summaryrefslogtreecommitdiff
path: root/src/elements/nwhl.c
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2011-05-20 12:00:34 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2011-05-20 12:00:34 (GMT)
commitdadac37264d9c75035747903b43c50d418c57860 (patch)
tree58863bde322436025f8834d207e894e874d6e4c4 /src/elements/nwhl.c
parentc932552aed9b04490cca702eecd32bb8d583fbd4 (diff)
downloadpowder-dadac37264d9c75035747903b43c50d418c57860.zip
powder-dadac37264d9c75035747903b43c50d418c57860.tar.gz
Move Diamond into solids menu, add gravity elements
Diffstat (limited to 'src/elements/nwhl.c')
-rw-r--r--src/elements/nwhl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/elements/nwhl.c b/src/elements/nwhl.c
new file mode 100644
index 0000000..8515542
--- /dev/null
+++ b/src/elements/nwhl.c
@@ -0,0 +1,6 @@
+#include <element.h>
+
+int update_NWHL(UPDATE_FUNC_ARGS) {
+ gravmap[y/CELL][x/CELL] -= 0.1f;
+ return 0;
+}