diff options
| author | Cracker64 <cracker642@gmail.com> | 2011-01-29 02:57:20 (GMT) |
|---|---|---|
| committer | Cracker64 <cracker642@gmail.com> | 2011-01-29 02:57:20 (GMT) |
| commit | 4b5337c03a0a64a12e1d66829c14af73f1ff0398 (patch) | |
| tree | 5663f738bdf7b8d0e924db6acb8e010d0174f1c3 /src/elements/elementmisc.c | |
| parent | 01304db892324f5d0dafb50e03150707bffef13a (diff) | |
| download | powder-4b5337c03a0a64a12e1d66829c14af73f1ff0398.zip powder-4b5337c03a0a64a12e1d66829c14af73f1ff0398.tar.gz | |
finally fixed visual studio compiling, yay
Diffstat (limited to 'src/elements/elementmisc.c')
| -rw-r--r-- | src/elements/elementmisc.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/elements/elementmisc.c b/src/elements/elementmisc.c new file mode 100644 index 0000000..a284b3a --- /dev/null +++ b/src/elements/elementmisc.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; +} |
