diff --git a/engine/gl/gl_ppl.c b/engine/gl/gl_ppl.c index 4d7e77af1..21ab30909 100644 --- a/engine/gl/gl_ppl.c +++ b/engine/gl/gl_ppl.c @@ -2259,7 +2259,7 @@ void PPL_BaseEntTextures(void) if (currententity->model->engineflags & MDLF_NOTREPLACEMENTS) { - if (currententity->model->fromgame != fg_quake || currententity->model->type != mod_halflife) + if (currententity->model->fromgame != fg_quake || currententity->model->type != mod_alias) if (!ruleset_allow_sensative_texture_replacements.value) continue; } @@ -3126,7 +3126,7 @@ void PPL_DrawEntLighting(dlight_t *light, vec3_t colour) if (currententity->model->engineflags & MDLF_NOTREPLACEMENTS) { - if (currententity->model->fromgame != fg_quake || currententity->model->type != mod_halflife) + if (currententity->model->fromgame != fg_quake || currententity->model->type != mod_alias) if (!ruleset_allow_sensative_texture_replacements.value) continue; } diff --git a/engine/gl/gl_rmain.c b/engine/gl/gl_rmain.c index 909281ef8..10c48991c 100644 --- a/engine/gl/gl_rmain.c +++ b/engine/gl/gl_rmain.c @@ -741,7 +741,7 @@ void GLR_DrawEntitiesOnList (void) if (currententity->model->engineflags & MDLF_NOTREPLACEMENTS) { - if (currententity->model->fromgame != fg_quake || currententity->model->type != mod_halflife) + if (currententity->model->fromgame != fg_quake || currententity->model->type != mod_alias) if (!ruleset_allow_sensative_texture_replacements.value) continue; }