From 97b5964df72e50080f2aff5fe0f811f9656acdb7 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 16 Nov 2015 01:31:37 +1000 Subject: [PATCH] Silence a warning --- qcsrc/client/csqcmodel_hooks.qc | 1 + 1 file changed, 1 insertion(+) diff --git a/qcsrc/client/csqcmodel_hooks.qc b/qcsrc/client/csqcmodel_hooks.qc index 7eb672ba5..51b373fb7 100644 --- a/qcsrc/client/csqcmodel_hooks.qc +++ b/qcsrc/client/csqcmodel_hooks.qc @@ -168,6 +168,7 @@ void CSQCPlayer_ModelAppearance_Apply(bool islocalplayer) // only if this failed, find it out on our own entity e = spawn(); + precache_model(autocvar__cl_playermodel); _setmodel(e, autocvar__cl_playermodel); // this is harmless, see below forceplayermodels_modelisgoodmodel = fexists(e.model); forceplayermodels_model = e.model; -- 2.39.2