mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Fixed entity monitoring never printing
This commit is contained in:
parent
eb993dbd43
commit
1e5e5e24f6
1 changed files with 1 additions and 1 deletions
|
@ -5467,7 +5467,7 @@ void Entity::MPrintf(const char *fmt, ...)
|
|||
va_list argptr;
|
||||
char msg[MAXPRINTMSG];
|
||||
|
||||
if (g_monitorNum->integer == entnum && g_monitor->string == targetname) {
|
||||
if (g_monitorNum->integer == entnum || g_monitor->string == targetname) {
|
||||
va_start(argptr, fmt);
|
||||
Q_vsnprintf(msg, sizeof(msg), fmt, argptr);
|
||||
va_end(argptr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue