blob: 5d8dc06077b4e53b82eec97a0e1688786602c4de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/*-- Prevent firing clonk from hitting itself --*/
#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;
}
|