summaryrefslogtreecommitdiff
path: root/src/elements/stkm2.c
blob: e49f17039d2f27c1523c0702e0c403d24f0d02b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <element.h>

int update_SPAWN2(UPDATE_FUNC_ARGS) {
	if (!player2.spwn)
		create_part(-1, x, y, PT_STKM2);

	return 0;
}

int update_STKM2(UPDATE_FUNC_ARGS) {
	run_stickman(&player2, UPDATE_FUNC_SUBCALL_ARGS);
	return 0;
}