summaryrefslogtreecommitdiffstats
path: root/TemplePushing.c4s/System.c4g/Arrow.c
blob: f4e220288128adf78fb0e81cabeceb0a61d4d419 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*-- Don't hit shooter directly after shooting --*/
#strict 2
#appendto ARRW
#appendto FARW

local shooter;

func Launch(object shooterClonk)
{
	if (shooterClonk) shooter = shooterClonk;
	return _inherited(shooterClonk, ...);
}

func QueryOwnCatchBlow(object target)
{
	return target == shooter;
}