]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sv_phys.c
Remove pointless and wasteful variable assignment
[xonotic/darkplaces.git] / sv_phys.c
index 26775e843931350fa12becc0041b98b832ea40d4..855abe169ba3c5d412bb4bff417a06304f32a1a0 100644 (file)
--- a/sv_phys.c
+++ b/sv_phys.c
@@ -118,7 +118,6 @@ void SV_CheckVelocity (edict_t *ent)
                ent->v.velocity[0] *= wishspeed;
                ent->v.velocity[1] *= wishspeed;
                ent->v.velocity[2] *= wishspeed;
-               wishspeed = sv_maxvelocity.value;
        }
 }