make sure the DumbSetVelocity only happens if we scale prespeed speed

This commit is contained in:
rtldg 2022-01-19 09:21:41 +00:00
parent 117d2d277c
commit 894ecdff48

View File

@ -1291,11 +1291,11 @@ public Action Shavit_OnUserCmdPre(int client, int &buttons, int &impulse, float
{ {
ScaleVector(fSpeed, fScale); ScaleVector(fSpeed, fScale);
} }
}
DumbSetVelocity(client, fSpeed); DumbSetVelocity(client, fSpeed);
} }
} }
}
if (!bNoclip && Shavit_GetStyleSettingBool(gI_Style[client], "prespeed") && bInStart) if (!bNoclip && Shavit_GetStyleSettingBool(gI_Style[client], "prespeed") && bInStart)
{ {