mirror of
https://github.com/rehlds/metamod-r.git
synced 2025-01-14 15:47:54 +03:00
mutil_CenterSayVarargs: Ignore dormant client's
This commit is contained in:
parent
2b059821c9
commit
41be316e12
@ -145,6 +145,9 @@ void EXT_FUNC mutil_CenterSayVarargs(plid_t plid, hudtextparms_t tparms, const c
|
|||||||
if (FNullEnt(pEntity) || pEntity->free)
|
if (FNullEnt(pEntity) || pEntity->free)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
if ((pEntity->v.flags & FL_DORMANT) == FL_DORMANT)
|
||||||
|
continue;
|
||||||
|
|
||||||
UTIL_HudMessage(pEntity, tparms, buf);
|
UTIL_HudMessage(pEntity, tparms, buf);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user