- reduce assaultcannon's movement limitation from 1/8th to 1/4th

- fix judo so your speed is returned after loosing an assault cannon
This commit is contained in:
Adam Olsen 2001-09-22 19:23:24 +00:00
parent 3c8ef5221d
commit 66f50d2899
2 changed files with 2 additions and 2 deletions

View file

@ -531,7 +531,7 @@ void() JudokaRearm =
oself = self;
self = self.enemy;
stuffcmd(self, "v_idlescale 0\n");
self.tfstate = self.tfstate - (self.tfstate & TFSTATE_CANT_MOVE);
self.tfstate = self.tfstate - (self.tfstate & TFSTATE_ASSAULTCANNON);
TeamFortress_SetSpeed(self);
self.weaponframe = 0;
self.count = 1;

View file

@ -1643,7 +1643,7 @@ void(entity p) TeamFortress_SetSpeed =
// 8th, check if they're firing an Assault Cannon
if (p.tfstate & TFSTATE_ASSAULTCANNON)
p.maxspeed /= 8;
p.maxspeed /= 4;
stuffcmd(p,"cl_backspeed 1000\n");
stuffcmd(p,"cl_forwardspeed 1000\n");