diff --git a/Quake/common.c b/Quake/common.c index 3be3797e..6eaa11ba 100644 --- a/Quake/common.c +++ b/Quake/common.c @@ -1620,10 +1620,12 @@ static int COM_FindFile (const char *filename, int *handle, FILE **file, } if (strcmp(COM_FileGetExtension(filename), "pcx") != 0 - && strcmp(COM_FileGetExtension(filename), "tga") != 0) + && strcmp(COM_FileGetExtension(filename), "tga") != 0 + && strcmp(COM_FileGetExtension(filename), "lit") != 0 + && strcmp(COM_FileGetExtension(filename), "ent") != 0) Con_DPrintf ("FindFile: can't find %s\n", filename); else Con_DPrintf2("FindFile: can't find %s\n", filename); - // Log pcx and tga texture misses only if (developer.value >= 2) + // Log pcx, tga, lit, ent misses only if (developer.value >= 2) if (handle) *handle = -1; diff --git a/Quake/gl_model.c b/Quake/gl_model.c index 7d75c1e4..a3d89329 100644 --- a/Quake/gl_model.c +++ b/Quake/gl_model.c @@ -685,7 +685,7 @@ void Mod_LoadLighting (lump_t *l) i = LittleLong(((int *)data)[1]); if (i == 1) { - Con_DPrintf("%s loaded", litfilename); + Con_DPrintf("%s loaded\n", litfilename); loadmodel->lightdata = data + 8; return; } @@ -753,7 +753,7 @@ void Mod_LoadEntities (lump_t *l) q_strlcpy(entfilename, loadmodel->name, sizeof(entfilename)); COM_StripExtension(entfilename, entfilename, sizeof(entfilename)); q_strlcat(entfilename, ".ent", sizeof(entfilename)); - Con_DPrintf("trying to load %s\n", entfilename); + Con_DPrintf2("trying to load %s\n", entfilename); mark = Hunk_LowMark(); ents = (char *) COM_LoadHunkFile (entfilename, &path_id); if (ents) diff --git a/Quake/snd_mem.c b/Quake/snd_mem.c index bb2ab473..239e020b 100644 --- a/Quake/snd_mem.c +++ b/Quake/snd_mem.c @@ -212,7 +212,7 @@ static void FindNextChunk (const char *name) if (iff_chunk_len < 0 || iff_chunk_len > iff_end - data_p) { data_p = NULL; - Con_DPrintf("bad \"%s\" chunk length (%d)\n", name, iff_chunk_len); + Con_DPrintf2("bad \"%s\" chunk length (%d)\n", name, iff_chunk_len); return; } last_chunk = data_p + ((iff_chunk_len + 1) & ~1);