]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/ecs/systems/cl_physics.qc
Merge branch 'master' into terencehill/menu_quit_game
[xonotic/xonotic-data.pk3dir.git] / qcsrc / ecs / systems / cl_physics.qc
index 848000db3a6b142da8a8e29ae7c09a1e3b21ab8a..624e0a9126e8a497272cf0ad2a9c98ec6b26b2eb 100644 (file)
@@ -3,7 +3,6 @@
 void sys_phys_fix(entity this, float dt)
 {
        this.team = myteam + 1; // is this correct?
-       PHYS_WATERJUMP_TIME(this) -= dt;
        this.movement = PHYS_INPUT_MOVEVALUES(this);
        this.items = STAT(ITEMS, this);
        if (!(PHYS_INPUT_BUTTON_JUMP(this))) // !jump
@@ -25,15 +24,4 @@ void sys_phys_pregame_hold(entity this) {}
 
 void sys_phys_spectator_control(entity this) {}
 
-void sys_phys_fixspeed(entity this, float maxspeed_mod)
-{
-       float spd = STAT(MOVEVARS_SPEED, this);
-       if (this.speed != spd) {
-               this.speed = spd;
-               string temps = ftos(spd);
-               cvar_set("cl_forwardspeed", temps);
-               cvar_set("cl_backspeed", temps);
-               cvar_set("cl_sidespeed", temps);
-               cvar_set("cl_upspeed", temps);
-       }
-}
+void sys_phys_fixspeed(entity this, float maxspeed_mod) {}