]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/client.qc
Reset viewloc when observing instead of constantly, should fix spectators seeing...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / client.qc
index 3333c04e49180286b6ef8806c91aa410baf0de1e..3d5877f6b0f0afc7247b0e4643169edfffbfbccd 100644 (file)
@@ -352,6 +352,8 @@ void PutObserverInServer(entity this)
        this.weapons = '0 0 0';
        this.drawonlytoclient = this;
 
+       this.viewloc = NULL;
+
        this.weaponmodel = "";
        for (int slot = 0; slot < MAX_WEAPONSLOTS; ++slot)
        {