]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
inverted logic strikes back
authorRudolf Polzer <divverent@xonotic.org>
Mon, 14 Nov 2011 09:19:39 +0000 (10:19 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Mon, 14 Nov 2011 09:19:39 +0000 (10:19 +0100)
qcsrc/csqcmodel/cl_player.qc

index ba93c2e8d24eb7e4db54a6d4a881a077182002b8..3ee4afa130be823ed580f5f61293faadd1b143e7 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 var float autocvar_cl_predictionerrorcompensation = 0;
-var float autocvar_cl_movement_replay;
 var float autocvar_chase_active;
 var float autocvar_chase_back;
 
@@ -162,14 +161,14 @@ void CSQCPlayer_Remove()
        if(self.entnum != player_localentnum)
                return;
        csqcplayer = world;
-       cvar_clientsettemp("cl_movement_replay", "0");
+       cvar_clientsettemp("cl_movement_replay", "1");
 }
 
 float CSQCPlayer_PreUpdate()
 {
        if(self.entnum != player_localentnum)
                return 0;
-       cvar_clientsettemp("cl_movement_replay", "1");
+       cvar_clientsettemp("cl_movement_replay", "0");
        if(csqcplayer_status != CSQCPLAYERSTATUS_FROMSERVER)
                CSQCPlayer_Unpredict();
        return 1;