From c6a2f2ceed6a453934294f9dd44d4d8459e7a507 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 2 Nov 2020 10:48:15 +1000 Subject: [PATCH] Don't disable rendering completely if the player is invisible, fixes #2395 --- qcsrc/client/csqcmodel_hooks.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/client/csqcmodel_hooks.qc b/qcsrc/client/csqcmodel_hooks.qc index e5f00f946..f53ea725c 100644 --- a/qcsrc/client/csqcmodel_hooks.qc +++ b/qcsrc/client/csqcmodel_hooks.qc @@ -618,7 +618,7 @@ void CSQCModel_Hook_PreDraw(entity this, bool isplayer) return; this.csqcmodel_predraw_run = framecount; - if(!this.modelindex || this.model == "null" || this.alpha < 0) + if(!this.modelindex || this.model == "null") { this.drawmask = 0; if(this.snd_looping > 0) -- 2.39.2