]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sv_user.c
fixed sv_waterfriction code so it is now used
[xonotic/darkplaces.git] / sv_user.c
index 0cc8d24cf9060b9bdc2532a849c9983bc9d462d3..95bf42bce52b6c6083f502cdfd2729ddee82f519 100644 (file)
--- a/sv_user.c
+++ b/sv_user.c
@@ -273,7 +273,7 @@ void SV_WaterMove (void)
        speed = VectorLength(host_client->edict->fields.server->velocity);
        if (speed)
        {
-               newspeed = speed - sv.frametime * speed * sv_friction.value;
+               newspeed = speed - sv.frametime * speed * sv_waterfriction.value;
                if (newspeed < 0)
                        newspeed = 0;
                temp = newspeed/speed;