Menu-FN: ifdef the reference to g_ePreviewModel out in cz_cxHQModelChanged

This commit is contained in:
Marco Cawthorne 2023-02-12 13:02:35 -08:00
parent 9738a6a525
commit c939e790e8
Signed by: eukara
GPG Key ID: CE2032F0A2882A22
1 changed files with 2 additions and 1 deletions

View File

@ -156,11 +156,12 @@ void
cz_cxHQModelsChanged(float val)
{
localcmd(sprintf("seta cl_himodels %f\n", val));
#ifdef MODEL_PREVIEW
if (val)
setcustomskin(g_ePreviewModel, "", "geomset 0 2\n");
else
setcustomskin(g_ePreviewModel, "", "geomset 0 1\n");
#endif
}
void
cz_cxEnableVoiceChanged(float val)