]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Reset cl_lockview on map start
authorterencehill <piuntn@gmail.com>
Mon, 6 Feb 2017 18:09:05 +0000 (19:09 +0100)
committerterencehill <piuntn@gmail.com>
Mon, 6 Feb 2017 18:09:05 +0000 (19:09 +0100)
qcsrc/client/main.qc

index f48c0c530a40cf631c10c1e54c696d80db6dc741..9a6c25c35279a41dcdaccbe586a9ee5a1c2775a1 100644 (file)
@@ -131,6 +131,9 @@ void CSQC_Init()
 
        registercvar("cl_spawn_near_teammate", "1");
 
+       if(autocvar_cl_lockview)
+               cvar_set("cl_lockview", "0");
+
        gametype = NULL;
 
        postinit = false;