From: res Date: Thu, 27 Dec 2007 18:55:59 +0000 (+0000) Subject: csqc setmodel: print a warning when the given model was not precached X-Git-Tag: xonotic-v0.1.0preview~2622 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=779497025fcd92b7d4c3dd090672fb577e0887db;p=xonotic%2Fdarkplaces.git csqc setmodel: print a warning when the given model was not precached git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7871 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/clvm_cmds.c b/clvm_cmds.c index 8ce9adaa..4293170c 100644 --- a/clvm_cmds.c +++ b/clvm_cmds.c @@ -96,6 +96,7 @@ static void VM_CL_setmodel (void) e->fields.client->modelindex = 0; e->fields.client->model = 0; + VM_Warning ("setmodel: model '%s' not precached\n", m); } // #4 void(entity e, vector min, vector max) setsize