From: Samual Lenks Date: Sat, 1 Jun 2013 04:16:43 +0000 (-0400) Subject: Last thing to clean up, I swear X-Git-Tag: xonotic-v0.7.0~24^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=fadb00a80fe32f7d9d4f18b3a1c0710a1a007a75;p=xonotic%2Fxonotic-data.pk3dir.git Last thing to clean up, I swear --- 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();