blob: e52c395683a75f678c0d1bd334590d1df8d3b2cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/*-- Makes some objects bounce after hit --*/
#strict 2
#appendto AXE1
#appendto EFLN
#appendto SWOR
protected func Hit()
{
if (Random(2)) return _inherited();
SetYDir(-20);
Sound("Boing");
return 1;
}
|