]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/csqcmodel_hooks.qc
Don't update the LOD model indexes if the model's index matches a LOD model, fixes...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / csqcmodel_hooks.qc
index 121af1947a9b256ae2b4e0e7013ea4865db10898..7ddfaa5f9e0bf5eae7c950cb063026c43558420a 100644 (file)
@@ -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;