From: lordhavoc Date: Mon, 27 Nov 2000 06:05:23 +0000 (+0000) Subject: put in dprinting of model names as they are loaded X-Git-Tag: RELEASE_0_2_0_RC1~906 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=86d44e324a075ed3bd1954c47e732cea73146ef5;p=xonotic%2Fdarkplaces.git put in dprinting of model names as they are loaded git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@114 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/model_shared.c b/model_shared.c index ecfe872a..a4b5662e 100644 --- a/model_shared.c +++ b/model_shared.c @@ -154,6 +154,7 @@ model_t *Mod_LoadModel (model_t *mod, qboolean crash) void *d; unsigned *buf; // byte stackbuf[1024]; // avoid dirtying the cache heap + int blah = 0; if (!mod->needload) { @@ -167,6 +168,8 @@ model_t *Mod_LoadModel (model_t *mod, qboolean crash) return mod; // not cached at all } + Con_DPrintf("loading model %s\n", mod->name); + // load the file buf = (unsigned *)COM_LoadMallocFile (mod->name, false); // buf = (unsigned *)COM_LoadStackFile (mod->name, stackbuf, sizeof(stackbuf), false);