]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Also stop using self
authorMario <mario@smbclan.net>
Thu, 21 Jul 2016 16:36:24 +0000 (02:36 +1000)
committerMario <mario@smbclan.net>
Thu, 21 Jul 2016 16:36:24 +0000 (02:36 +1000)
qcsrc/server/cl_client.qc

index 48f0b8d914cd2c189285e0667150a974b29776d8..e3669c73191b01f5a38b8971a29d70a1d9639267 100644 (file)
@@ -1832,7 +1832,7 @@ void LeaveSpectatorMode(entity this)
                {
                        TRANSMUTE(Player, this);
 
-                       SetSpectatee(self, world);
+                       SetSpectatee(this, NULL);
 
                        if(autocvar_g_campaign || autocvar_g_balance_teams)
                                { JoinBestTeam(this, false, true); }