CL_Locs_Reload_f();
R_Modules_NewMap();
+ cl.foundtalk2wav = FS_FileExists("sound/misc/talk2.wav");
+
// add pmodel/emodel CRCs to userinfo
CL_SetInfo("pmodel", va("%i", FS_CRCFile("progs/player.mdl", NULL)), true, true, true, true);
CL_SetInfo("emodel", va("%i", FS_CRCFile("progs/eyes.mdl", NULL)), true, true, true, true);
CL_UpdateRenderEntity(&cl.entities[0].render);
CL_Locs_Reload_f();
R_Modules_NewMap();
+ cl.foundtalk2wav = FS_FileExists("sound/misc/talk2.wav");
// check memory integrity
Mem_CheckSentinelsGlobal();
if (!cl.loadfinished && cl_joinbeforedownloadsfinish.integer)
CL_UpdateRenderEntity(&cl.entities[0].render);
CL_Locs_Reload_f();
R_Modules_NewMap();
+ cl.foundtalk2wav = FS_FileExists("sound/misc/talk2.wav");
// check memory integrity
Mem_CheckSentinelsGlobal();
if (!cl.loadfinished && cl_joinbeforedownloadsfinish.integer)
CL_UpdateRenderEntity(&cl.entities[0].render);
CL_Locs_Reload_f();
R_Modules_NewMap();
+ cl.foundtalk2wav = FS_FileExists("sound/misc/talk2.wav");
// check memory integrity
Mem_CheckSentinelsGlobal();
if (!cl.loadfinished && cl_joinbeforedownloadsfinish.integer)
{
model_t *model = Mod_ForName(s, false, false, i == 1);
if (!model)
- Con_Printf("svc_precache: Mod_ForName(\"%s\") failed\n", s);
+ Con_DPrintf("svc_precache: Mod_ForName(\"%s\") failed\n", s);
cl.model_precache[i] = model;
}
else
{
sfx_t *sfx = S_PrecacheSound (s, true, false);
if (!sfx && snd_initialized.integer)
- Con_Printf("svc_precache: S_PrecacheSound(\"%s\") failed\n", s);
+ Con_DPrintf("svc_precache: S_PrecacheSound(\"%s\") failed\n", s);
cl.sound_precache[i] = sfx;
}
else
p1++;
}
// note this uses the chat prefix \001
- if (!fromServer)
+ if (!fromServer && !teamonly)
dpsnprintf (text, sizeof(text), "\001%s" STRING_COLOR_DEFAULT_STR ": %s", host_client->name, p1);
+ else if (!fromServer && teamonly)
+ dpsnprintf (text, sizeof(text), "\001(%s" STRING_COLOR_DEFAULT_STR "): %s", host_client->name, p1);
else if(*(sv_adminnick.string))
dpsnprintf (text, sizeof(text), "\001<%s" STRING_COLOR_DEFAULT_STR "> %s", sv_adminnick.string, p1);
else