From 41be316e126d8086beedeea182a379e4a44da786 Mon Sep 17 00:00:00 2001 From: s1lent Date: Sat, 18 Nov 2017 23:18:16 +0700 Subject: [PATCH] mutil_CenterSayVarargs: Ignore dormant client's --- metamod/src/mutil.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/metamod/src/mutil.cpp b/metamod/src/mutil.cpp index d29ca16..d792cc3 100644 --- a/metamod/src/mutil.cpp +++ b/metamod/src/mutil.cpp @@ -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); } }