2
0
mirror of https://github.com/rehlds/metamod-r.git synced 2024-12-26 14:45:34 +03:00

mutil_CenterSayVarargs: Ignore dormant client's

This commit is contained in:
s1lent 2017-11-18 23:18:16 +07:00
parent 2b059821c9
commit 41be316e12
No known key found for this signature in database
GPG Key ID: 0FE401DC73916B5C

View File

@ -145,6 +145,9 @@ void EXT_FUNC mutil_CenterSayVarargs(plid_t plid, hudtextparms_t tparms, const c
if (FNullEnt(pEntity) || pEntity->free)
continue;
if ((pEntity->v.flags & FL_DORMANT) == FL_DORMANT)
continue;
UTIL_HudMessage(pEntity, tparms, buf);
}
}