]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_shared.c
put in dprinting of model names as they are loaded
[xonotic/darkplaces.git] / model_shared.c
index ecfe872a74720ee91fa995af4c15ab7cd32f5b02..a4b5662e3bde05d8609b5a611e44e09d7bb0cd91 100644 (file)
@@ -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);