X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fmonsters%2Ffight.qc;h=314838b9acce81d39b04c0a55c3e16e2a186a02b;hb=3846c9bd40c2b3c1aa220c1eeef9198b1912aab4;hp=10d00a16bbde8561ccf85e5e10f197eb7e3d988f;hpb=ad95c4f657533b07bf324305a00397d25c121f34;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/monsters/fight.qc b/qcsrc/server/monsters/fight.qc index 10d00a16b..314838b9a 100644 --- a/qcsrc/server/monsters/fight.qc +++ b/qcsrc/server/monsters/fight.qc @@ -68,9 +68,9 @@ Returns FALSE if movement should continue */ float() GenericCheckAttack = { - local vector spot1, spot2; - local entity targ; - local float chance; + vector spot1, spot2; + entity targ; + float chance; if (self.health < 1) return FALSE; @@ -179,8 +179,8 @@ void() ai_charge_side = { if (self.health < 1) return; - local vector dtemp; - local float heading; + vector dtemp; + float heading; // aim to the left of the enemy for a flyby @@ -203,8 +203,8 @@ ai_melee */ void() ai_melee = { - local vector delta; - local float ldmg; + vector delta; + float ldmg; if (self.health < 1) return; @@ -227,8 +227,8 @@ void() ai_melee = void() ai_melee_side = { - local vector delta; - local float ldmg; + vector delta; + float ldmg; if (self.health < 1) return;