summaryrefslogtreecommitdiff
path: root/src/elements/misc.c
diff options
context:
space:
mode:
authorCracker64 <cracker642@gmail.com>2011-01-28 23:54:50 (GMT)
committer Cracker64 <cracker642@gmail.com>2011-01-28 23:54:50 (GMT)
commitbcea95c5ca9b899be193c20760c634e2a3f5ad91 (patch)
tree7af3857d49748fb75c7c02d6ff3af38fbaa3450c /src/elements/misc.c
parent60d3f0047b21c6a1b34d07f0c0ac8c3cbc708289 (diff)
downloadpowder-bcea95c5ca9b899be193c20760c634e2a3f5ad91.zip
powder-bcea95c5ca9b899be193c20760c634e2a3f5ad91.tar.gz
update to latest
Diffstat (limited to 'src/elements/misc.c')
-rw-r--r--src/elements/misc.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/elements/misc.c b/src/elements/misc.c
new file mode 100644
index 0000000..a284b3a
--- /dev/null
+++ b/src/elements/misc.c
@@ -0,0 +1,12 @@
+#include <element.h>
+
+int update_MISC(UPDATE_FUNC_ARGS) {
+ int t = parts[i].type;
+ if (t==PT_LOVE)
+ ISLOVE=1;
+ else if (t==PT_LOLZ)
+ ISLOLZ=1;
+ else if (t==PT_GRAV)
+ ISGRAV=1;
+ return 0;
+}