2
0
Fork 0
mirror of https://github.com/rehlds/Metamod-R.git synced 2025-08-14 18:49:42 +03:00

mutil_CenterSayVarargs: Ignore dormant client's

This commit is contained in:
s1lent 2017-11-18 23:18:16 +07:00
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);
}
}