mirror of
https://git.code.sf.net/p/quake/prozac-qfcc
synced 2025-03-02 23:51:53 +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
|
@ -401,8 +401,6 @@ void() DropFromCustomClassGen =
|
||||||
SetArmyTimer();
|
SetArmyTimer();
|
||||||
}
|
}
|
||||||
|
|
||||||
TeamFortress_SetSpeed (self);
|
|
||||||
|
|
||||||
return;
|
return;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
10
tfort.qc
10
tfort.qc
|
@ -1637,12 +1637,10 @@ void(entity p) TeamFortress_SetSpeed =
|
||||||
p.maxspeed /= 4;
|
p.maxspeed /= 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (p.maxspeed != ms) {
|
local string speed = ftos (p.maxspeed);
|
||||||
local string speed = ftos (p.maxspeed);
|
stuffcmd(p,"cl_backspeed " + speed + "\n");
|
||||||
stuffcmd(p,"cl_backspeed " + speed + "\n");
|
stuffcmd(p,"cl_forwardspeed " + speed + "\n");
|
||||||
stuffcmd(p,"cl_forwardspeed " + speed + "\n");
|
stuffcmd(p,"cl_sidespeed " + speed + "\n");
|
||||||
stuffcmd(p,"cl_sidespeed " + speed + "\n");
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
|
Loading…
Reference in a new issue