disable qcphysics by default
authorMartin Taibr <taibr.martin@gmail.com>
Wed, 28 Nov 2018 13:53:14 +0000 (14:53 +0100)
committerMartin Taibr <taibr.martin@gmail.com>
Wed, 28 Nov 2018 13:53:14 +0000 (14:53 +0100)
qcsrc/server/client.qc

index 01c8222e62de1597fb561a31590f8bcb164e9b04..ef569519959788bd35dca4fcb00c5ea43eae0621 100644 (file)
@@ -1054,6 +1054,8 @@ string getwelcomemessage(entity this)
        return s;
 }
 
+bool autocvar_sv_qcphysics = false; // TODO this is for testing - remove when qcphysics work
+
 /**
 =============
 ClientConnect
@@ -1146,7 +1148,7 @@ void ClientConnect(entity this)
        if (IS_REAL_CLIENT(this))
                sv_notice_join(this);
 
-       this.move_qcphysics = true;
+       this.move_qcphysics = autocvar_sv_qcphysics;
 
        // update physics stats (players can spawn before physics runs)
        Physics_UpdateStats(this);