put in dprinting of model names as they are loaded
authorlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 27 Nov 2000 06:05:23 +0000 (06:05 +0000)
committerlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 27 Nov 2000 06:05:23 +0000 (06:05 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@114 d7cf8633-e32d-0410-b094-e92efae38249

model_shared.c

index ecfe872..a4b5662 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);