mirror of
https://git.code.sf.net/p/quake/prozac-qfcc
synced 2025-01-31 13:50:38 +00:00
fix the movement after customizing bug
This commit is contained in:
parent
83a23905f9
commit
26f0820d04
2 changed files with 4 additions and 8 deletions
|
@ -400,8 +400,6 @@ void() DropFromCustomClassGen =
|
|||
{
|
||||
SetArmyTimer();
|
||||
}
|
||||
|
||||
TeamFortress_SetSpeed (self);
|
||||
|
||||
return;
|
||||
};
|
||||
|
|
10
tfort.qc
10
tfort.qc
|
@ -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");
|
||||
};
|
||||
|
||||
//=========================================================================
|
||||
|
|
Loading…
Reference in a new issue