summaryrefslogtreecommitdiff
path: root/elements/nwhl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'elements/nwhl.cpp')
-rw-r--r--elements/nwhl.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/elements/nwhl.cpp b/elements/nwhl.cpp
new file mode 100644
index 0000000..f53b657
--- /dev/null
+++ b/elements/nwhl.cpp
@@ -0,0 +1,6 @@
+#include "element.h"
+
+int update_NWHL(UPDATE_FUNC_ARGS) {
+ sim->gravmap[(y/CELL)*(XRES/CELL)+(x/CELL)] -= 0.1f;
+ return 0;
+}