]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
csqc setmodel: print a warning when the given model was not precached
authorres <res@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 27 Dec 2007 18:55:59 +0000 (18:55 +0000)
committerres <res@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 27 Dec 2007 18:55:59 +0000 (18:55 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7871 d7cf8633-e32d-0410-b094-e92efae38249

clvm_cmds.c

index 8ce9adaa9fc6e95200eb1c37256cb5adfacc11fd..4293170ca0e732f911b427287e27454c7ff959ac 100644 (file)
@@ -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