From: Rudolf Polzer Date: Sat, 31 Dec 2011 12:15:01 +0000 (+0100) Subject: fix a spam bug X-Git-Tag: xonotic-v0.6.0~189^2~17 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a59ad5361ab6ae911585f0ee1f8f82edb9ade946;p=xonotic%2Fxonotic-data.pk3dir.git fix a spam bug --- diff --git a/qcsrc/csqcmodellib/cl_player.qc b/qcsrc/csqcmodellib/cl_player.qc index 66b32befa..ec7fe0ddf 100644 --- a/qcsrc/csqcmodellib/cl_player.qc +++ b/qcsrc/csqcmodellib/cl_player.qc @@ -209,7 +209,7 @@ void CSQCPlayer_SetCamera() view = CSQCModel_server2csqc(player_localentnum); #endif - if(view != csqcplayer) + if(view && view != csqcplayer) { entity oldself = self; self = view;