From: Mario Date: Thu, 21 Jul 2016 16:36:24 +0000 (+1000) Subject: Also stop using self X-Git-Tag: xonotic-v0.8.2~750^2~2 X-Git-Url: https://de.git.xonotic.org/?a=commitdiff_plain;h=abca65f02deb5bc18da87b0451b600a8d18b8996;p=xonotic%2Fxonotic-data.pk3dir.git Also stop using self --- diff --git a/qcsrc/server/cl_client.qc b/qcsrc/server/cl_client.qc index 48f0b8d91..e3669c731 100644 --- a/qcsrc/server/cl_client.qc +++ b/qcsrc/server/cl_client.qc @@ -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); }