zedtest3 #3
1 changed files with 9 additions and 2 deletions
MeanZombieBloat touch Accessed none fix
commit
410515b99d
|
|
@ -23,12 +23,19 @@ simulated function Tick(float DeltaTime) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
function Touch(Actor Other) {
|
|
||||||
|
function Touch(Actor Other)
|
||||||
|
{
|
||||||
|
if (Other == none)
|
||||||
|
return;
|
||||||
|
|
||||||
super.Touch(Other);
|
super.Touch(Other);
|
||||||
if (Other.IsA('ShotgunBullet')) {
|
if (Other.IsA('ShotgunBullet'))
|
||||||
|
{
|
||||||
ShotgunBullet(Other).Damage = 0;
|
ShotgunBullet(Other).Damage = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function RangedAttack(Actor A) {
|
function RangedAttack(Actor A) {
|
||||||
local int LastFireTime;
|
local int LastFireTime;
|
||||||
if ( bShotAnim )
|
if ( bShotAnim )
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue