]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
added reporting of what model is unprecached in no precache warning
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 16 Oct 2004 04:49:07 +0000 (04:49 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 16 Oct 2004 04:49:07 +0000 (04:49 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4642 d7cf8633-e32d-0410-b094-e92efae38249

pr_cmds.c

index 92086fae44a7c26f2d666b4137ffa68e459d117a..8ae6fda70a2f0bb2a2a2b471d885c77558e39b05 100644 (file)
--- a/pr_cmds.c
+++ b/pr_cmds.c
@@ -362,7 +362,7 @@ void PF_setmodel (void)
                        break;
 
        if (!*check)
-               PF_WARNING("setmodel: no precache\n");
+               PF_WARNING(va("setmodel: no precache for model \"%s\"\n", m));
 
 
        e->v->model = PR_SetString(*check);