]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove a hack added for debugging
authorMario <zacjardine@y7mail.com>
Sat, 29 Aug 2015 11:59:37 +0000 (21:59 +1000)
committerMario <zacjardine@y7mail.com>
Sat, 29 Aug 2015 11:59:37 +0000 (21:59 +1000)
qcsrc/client/csqcmodel_hooks.qc

index 92a61a7dbe6a104de1c13310d2e6624b980f0580..20bf6c0e8dbd167e0ee3671f983ee47b140f5c2d 100644 (file)
@@ -639,11 +639,8 @@ void CSQCModel_Hook_PreDraw(bool isplayer)
 
        if(self.isplayermodel) // this checks if it's a player MODEL!
        {
-               if(isplayer)
-               {
-                       CSQCPlayer_ModelAppearance_Apply(self.entnum == player_localnum + 1);
-                       CSQCPlayer_LOD_Apply();
-               }
+               CSQCPlayer_ModelAppearance_Apply(self.entnum == player_localnum + 1);
+               CSQCPlayer_LOD_Apply();
 
                if(!isplayer)
                {