From fadb00a80fe32f7d9d4f18b3a1c0710a1a007a75 Mon Sep 17 00:00:00 2001 From: Samual Lenks Date: Sat, 1 Jun 2013 00:16:43 -0400 Subject: [PATCH] Last thing to clean up, I swear --- qcsrc/client/csqcmodel_hooks.qc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qcsrc/client/csqcmodel_hooks.qc b/qcsrc/client/csqcmodel_hooks.qc index f6f94f089..264f4797e 100644 --- a/qcsrc/client/csqcmodel_hooks.qc +++ b/qcsrc/client/csqcmodel_hooks.qc @@ -607,8 +607,7 @@ void CSQCModel_Hook_PreDraw(float isplayer) if(self.isplayermodel) // this checks if it's a player MODEL! { - float islocalplayer = (self.entnum == player_localnum + 1); - CSQCPlayer_ModelAppearance_Apply(islocalplayer); + CSQCPlayer_ModelAppearance_Apply(self.entnum == player_localnum + 1); CSQCPlayer_LOD_Apply(); if(!isplayer) CSQCPlayer_FallbackFrame_Apply(); -- 2.39.2