load memory files without modname

This commit is contained in:
jeefo 2016-03-13 21:12:09 +03:00
commit 222195cc30
4 changed files with 36 additions and 18 deletions

View file

@ -116,7 +116,7 @@ void Engine::ClientPrintf (edict_t *ent, const char *fmt, ...)
vsnprintf (string, SIZEOF_CHAR (string), TraslateMessage (fmt), ap);
va_end (ap);
if (IsNullEntity (ent) || ent == g_hostEntity)
if (IsDedicatedServer () || IsNullEntity (ent) || ent == g_hostEntity)
{
Printf (string);
return;