]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/client.qc
Remove cl_useenginerefdef and sv_qcphysics options, make the QuakeC implementations...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / client.qc
index 7bd24369e3154c200dc526599a091b1c227f1cbf..993739e157235bb8a0bf653529e95811f917a9c1 100644 (file)
@@ -540,13 +540,8 @@ void PutPlayerInServer(entity this)
        PlayerState_attach(this);
        accuracy_resend(this);
 
-       if (IS_BOT_CLIENT(this))
-       {
-               if (teamplay && Team_IsValidIndex(this.bot_forced_team))
-                       SetPlayerTeam(this, this.bot_forced_team, TEAM_CHANGE_MANUAL);
-               else
-                       this.bot_forced_team = 0;
-       }
+       if (teamplay && this.bot_forced_team)
+               SetPlayerTeam(this, this.bot_forced_team, TEAM_CHANGE_MANUAL);
 
        if (this.team < 0)
                TeamBalance_JoinBestTeam(this);
@@ -1167,7 +1162,7 @@ void ClientConnect(entity this)
        if (IS_REAL_CLIENT(this))
                sv_notice_join(this);
 
-       this.move_qcphysics = autocvar_sv_qcphysics;
+       this.move_qcphysics = true;
 
        // update physics stats (players can spawn before physics runs)
        Physics_UpdateStats(this);