diff options
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; +} |
