o Fixed a cvar locking issue with movespeedkey.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@569 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
puzl 2006-08-17 22:48:16 +00:00
parent 867ac07a3a
commit d61af43e1e

View file

@ -4722,7 +4722,7 @@ void AvHHud::UpdateExploitPrevention()
FORCE_CVAR("gl_clear", gl_clear, 0.0f);
FORCE_CVAR("hud_draw", hud_draw, 1.0f);
FORCE_CVAR("r_drawviewmodel", r_drawviewmodel, 1.0f);
int movespeedkey=AvHMUGetWalkSpeedFactor(this->GetHUDUser3());
float movespeedkey=AvHMUGetWalkSpeedFactor(this->GetHUDUser3());
FORCE_CVAR("cl_movespeedkey", cl_movespeedkey, movespeedkey);
FORCE_CVAR("gl_d3dflip", gl_d3dflip, 1.0f);
FORCE_CVAR("s_show", s_show, 0.0f);