From bccf0b70a29eee690f372eef6e6a47acc44dcdd8 Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 24 Sep 2022 13:35:01 +1000 Subject: [PATCH] Don't update the LOD model indexes if the model's index matches a LOD model, fixes lower quality models being stuck enabled --- 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 121af1947..7ddfaa5f9 100644 --- a/qcsrc/client/csqcmodel_hooks.qc +++ b/qcsrc/client/csqcmodel_hooks.qc @@ -28,7 +28,7 @@ void CSQCPlayer_LOD_Apply(entity this, bool isplayer) int detailreduction = ((isplayer) ? autocvar_cl_playerdetailreduction : autocvar_cl_modeldetailreduction); // LOD model loading - if(this.lodmodelindex0 != this.modelindex) + if(this.lodmodelindex0 != this.modelindex && this.lodmodelindex1 != this.modelindex && this.lodmodelindex2 != this.modelindex) { string modelname = this.model; string s; -- 2.39.2