]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix a spam bug
authorRudolf Polzer <divverent@alientrap.org>
Sat, 31 Dec 2011 12:15:01 +0000 (13:15 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Sat, 31 Dec 2011 12:15:01 +0000 (13:15 +0100)
qcsrc/csqcmodellib/cl_player.qc

index 66b32befab0ea247f6f219511c7768f86da841d2..ec7fe0ddf171d2700138aa327a029de89596a511 100644 (file)
@@ -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;