summaryrefslogtreecommitdiff
path: root/src/elements/elementmisc.c
blob: a284b3a3a180b024bdf122cba2bd8fbc3f2997ad (plain)
1
2
3
4
5
6
7
8
9
10
11
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;
}