From: Mario Date: Sun, 15 Nov 2015 15:31:37 +0000 (+1000) Subject: Silence a warning X-Git-Tag: xonotic-v0.8.2~1659 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=97b5964df72e50080f2aff5fe0f811f9656acdb7;p=xonotic%2Fxonotic-data.pk3dir.git Silence a warning --- 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;