return;
// Don't jump when using some weapons
+ /*
if(self.aistatus & AI_STATUS_ATTACKING)
if(self.weapon & WEP_CAMPINGRIFLE)
return;
if(self.goalcurrent.classname == "player")
return;
+ */
maxspeed = cvar("sv_maxspeed");
}
// Release jump button
+ if(!cvar("sv_pogostick"))
if(self.flags & FL_ONGROUND == 0)
{
if(self.velocity_z < 0 || vlen(self.velocity)<maxspeed)
{
// LordHavoc: disabled because this is too expensive
return '0 0 0';
- /*
local entity head;
local vector dodge, v, n;
local float danger, bestdanger, vl, d;
head = head.chain;
}
return dodge;
- */
};