CSQC_ClientMovement_UpdateStatus(s);
#endif
#ifdef SVQC
-float maxspd_mod, spd, buttons;
- string temps;
+ float maxspd_mod, buttons;
float buttons_prev;
float not_allowed_to_move;
maxspd_mod *= self.spectatorspeed;
}
- spd = max(self.stat_sv_maxspeed, autocvar_sv_maxairspeed) * maxspd_mod;
- if(self.speed != spd)
- {
- self.speed = spd;
- temps = ftos(spd);
- stuffcmd(self, strcat("cl_forwardspeed ", temps, "\n"));
- stuffcmd(self, strcat("cl_backspeed ", temps, "\n"));
- stuffcmd(self, strcat("cl_sidespeed ", temps, "\n"));
- stuffcmd(self, strcat("cl_upspeed ", temps, "\n"));
- }
-
// if dead, behave differently
if (self.deadflag)
goto end;