fix the movement after customizing bug

This commit is contained in:
Bill Currie 2002-09-07 06:40:02 +00:00
parent 83a23905f9
commit 26f0820d04
2 changed files with 4 additions and 8 deletions

View File

@ -400,8 +400,6 @@ void() DropFromCustomClassGen =
{
SetArmyTimer();
}
TeamFortress_SetSpeed (self);
return;
};

View File

@ -1637,12 +1637,10 @@ void(entity p) TeamFortress_SetSpeed =
p.maxspeed /= 4;
}
if (p.maxspeed != ms) {
local string speed = ftos (p.maxspeed);
stuffcmd(p,"cl_backspeed " + speed + "\n");
stuffcmd(p,"cl_forwardspeed " + speed + "\n");
stuffcmd(p,"cl_sidespeed " + speed + "\n");
}
local string speed = ftos (p.maxspeed);
stuffcmd(p,"cl_backspeed " + speed + "\n");
stuffcmd(p,"cl_forwardspeed " + speed + "\n");
stuffcmd(p,"cl_sidespeed " + speed + "\n");
};
//=========================================================================